How did the host find out there was a thief in the house?
A. He heard someone breathing.
B. He heard footsteps in the hall.
C. He noticed a shadow on the floor.
D. He noticed that his gifts were gone.
第1题:
下列程序段: String s1=new String("How"); String s2=new String("How"); System.out.println(!(s1==s2)); 的结果为
A.false
B.true
C.1
D.0
第2题:
下列语句输出结果为( )。 public class test { public static void main(String args[]) String s1 =newString("HOW"); String s2=newString("How"): System.out.pnntln(!(s1.equals(s2))); } }
A.假
B.真
C.0
D.1
第3题:
下列语句输出结果为( )。public class test{public static void main(String args []){String s1=new String("How");String s2=new String("How");System.out.println(!(s1 ==s2));}
A.false
B.true
C.1
D.0
第4题:
下列语句输出结果为( )。 public class test { public static void main (String args[]) { Strings1=newString("HOW"); Strings2=newString("How"); System.out.println(!(s1.equals(s2))): } }
A.假
B.真
C.0
D.1
第5题:
下列语句输出结果为( )。 public class test { public static void main(StringArgsl[]) { String s1=new String("How"); String s2=new String("How"); System.out.println(!(s1==s2)); } }
A.false
B.true
C.1
D.0
第6题: