单项选择题
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”
单项选择题 byte [] arry1, array2[]; byte array3 [][]; byte[][] array4; If each array has been initialized, which statement will cause a compiler error?()
单项选择题 Whichdeclarationpreventscreatingasubclassofanouterclass?()
单项选择题 1. class super { 2. public float getNum() {return 3.0f;} 3. } 4. 5. public class Sub extends Super { 6. 7. } Which method, placed at line 6, will cause a compiler error?()