单项选择题
下面程序的输出为( )。
public class Test
public static void main (String args[])
int x,y;
x=1;
y=2;
System.out.println("The output is"+x+y);
A.The output is xy
B.The output is 3
C.The output is 12
D.The output is x=1 y=2
<上一题
目录
下一题>
点击查看答案&解析
打开小程序,免费文字、语音、拍照搜题找答案
热门
试题
单项选择题
定义类中成员变量时,不可能用到的修饰符是( )。
A.final
B.void
C.proteeted
D.static
点击查看答案&解析
单项选择题
Java图形开发包支持下列Java语言特性中的( )。
A.安全性
B.跨平台性
C.健壮性
D.多态性
点击查看答案&解析