运行界面:
考考你(19)
Given the following code snippet
1. class A {
2. public void method(int a, float b) {
3. // some declaration and etc.
4. }
5. }
6. public class B extends A {
7. //Comment here ?
8. }
In class B what all methods can be placed in (// Comment here ?) individually ?
a. void method(int i, float a)
b. public void method(int i, float f)
c public void method()
d. protected int method(float f, int b)
点击查看答案
↑返回目录
前一篇: 使用String还是StringBuffer
后一篇: java数据类型转换