关键字( )表明该方法或者属性为类方法或类属性。
A. static
B. extends
C. final
D. finalizer
关于静态方法描述不正确的是( )。
A. 静态方法中没有this指针
B. 子类不能重写父类的静态方法
C. 静态方法调用时通过类名而不是通过实例对象
D. 子类可以把父类的非静态方法重写为静态的
如果有个方法是这样开始的: ( ) public void squareRoot(long x) (...) 它的返回值类型是?
A. voids
B. long
C. public
D. there is no return type
在某个类A中存在一个方法:void Get (int x),以下能作为这个方法的重载的声明的是( )。
A. Void Get(float x)
B. int Get(int y)
C. void GetSort(int x,int y)
D. double Get(int x,int y)