Which is true?()
A. Line 3 will print the value 2. B. Line 3 will print the value 3. C. Compilation will fail because of an error in line 1. D. Compilation will fail because of an error in line 2.
下面方法返回值是什么?()
A. REDHE B. edhe C. EDH D. edhel E. redh F. RED
對(duì)下面父類方法重寫(xiě)正確的是()
A.public int method (int a , int b){……} B.private int method (int a , int b){……} C.protected void method (int a , int b){……} D.以上答案都不正確