题目内容

Java语言只保留了指针的概念。( )

A. 对
B. 错

查看答案
更多问题

Java Application程序中,必有一个主方法main(),该方法有没有参数都可以。

A. 对
B. 错

Which is not a keyword?

A. go
B. continue
C. Break
D. Class
E. transient

Which is the numerical range of a byte?

A. 0 ... 255
B. 0 ... 65535
C. -128 ... 127
D. -32768 ... 32767
E. Range is platform dependent.

What is the result?public class SwitchTest {public static void main(String[] args) {System.out.println("Vaule="+switchIt(4));}public static int switchIt(int x){int j=1;switch(x){case 1:j++;case 2:j++;case 3:j++;case 4:j++;case 5:j++;default:j++;}return j+x;}}

A. value = 3
B. value = 4
C. value = 5
D. value = 6
E. value = 7
F. value = 8

答案查题题库