单项选择题
下列语句输出结果为( )。 public class test public static void main (String args[]) int x=10,y=9; boolean b=true; System.out.println(x<y||!b);
A.true
B.false
C.1
D.0
点击查看答案
<上一题
目录
下一题>
热门
试题
单项选择题
下列( )是在当前主机的指定端口上启动远程对象注册服务程序。
A.rmic
B.rmiregistry
C.rmid
D.Serialver
点击查看答案
单项选择题
下列的( )程序段可能导致错误。
A.String s="hello":
Sting t="good";
String k=s+t;
B.Sting s="hello";
String t;
t=s [3] + "one";
C.Sting s="hello";
String standard=s.toUpperCase( );
D.String s="hello":
Stringt s +"good";
点击查看答案
相关试题
下列程序输出结果为( )。 public clas...
A
A.-32768 ~ + 32767B.-...
下列关于变量的叙述( )是错的。
已知如下代码: boolean m=true; if ...