单项选择题
下面程序的输出为( )。
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.多态性
点击查看答案&解析
相关试题
线程调用了sleep()方法后,该线程将进入...
在Java语言的所有方法中,比较特殊的方法是...
在AWT包中,创建一个具有10行、45列的...
Applet生命周期包括Applet的创建、 【15...
顺序执行下面两个语句的输出结果为 【11...