单项选择题
下面程序的输出为( )。
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.各模块应包括尽量多的功能
B.各模块的规模应尽量大
C.各模块之间的联系应尽量紧密
D.模块内具有高内聚度、模块间具有低耦合度
点击查看答案&解析
单项选择题
下列选项中不属于Java虚拟机的执行特点的是( )。
A.异常处理
B.多线程
C.动态链接
D.简单易学
点击查看答案&解析
相关试题
线程调用了sleep()方法后,该线程将进入...
在Java语言的所有方法中,比较特殊的方法是...
Applet生命周期包括Applet的创建、 【15...
顺序执行下面两个语句的输出结果为 【11...
在AWT包中,创建一个具有10行、45列的...