void methoda();
public double methoda();
public final double methoda();
static void methoda(double d1);
protected void methoda(double d1);
第1题:
Which two are valid declarations within an interface definition?()
第2题:
哪二种声明防止方法覆盖?()
第3题:
methodA(byte x,double y){return (short)x/y*2;}下划线上应填写的关键字是( )。
A、byte
B、double
C、short
D、float
第4题:
1. public class returnIt ( 2. returnType methodA(byte x, double y) ( 3. return (short) x/y * 2; 4. ) 5. ) What is the valid returnType for methodA in line 2?()
第5题:
public class OuterClass { private double d1 1.0; //insert code here } You need to insert an inner class declaration at line2. Which two inner class declarations are valid?()
第6题:
在接口中以下哪条定义是正确的?()
第7题:
可以限制一个方法重载的声明语句有()。
第8题:
Which will declare a method that is available to all members of the same package and be referenced without an instance of the class?()
第9题:
Which two declarations prevent the overriding of a method?()
第10题:
Which will declare the method that forces a subclass to implement it?()