logo - 刷刷题
下载APP
【单选题】

分かっている ( )、教えてくれない。

A.
ながら
B.
ために
C.
くせに
D.
ことに
举报
参考答案:
参考解析:
.
刷刷题刷刷变学霸
举一反三

【单选题】class super (   public int I = 0;   public super (string text) (   I = 1   )   )     public class sub extends super (   public sub (string text) (   i= 2   )   public static void main (straing args) (...

A.
Compilation will fail.
B.
Compilation will succeed and the program will print “0”
C.
Compilation will succeed and the program will print “1”
D.
Compilation will succeed and the program will print “2”

【单选题】class super {   public float getNum() {return 3.0f;}   }   public class Sub extends Super {   }   Which method, placed at line 6, will cause a compiler error?()

A.
Public float getNum() {return 4.0f; }
B.
Public void getNum (){}
C.
Public void getNum (double d){}
D.
Public double getNum (float d) {retrun 4.0f; }