【简答题】听对话,根据对话内容问题选择正确答案。 ( )1. A. In the country. ( )2. A. It began at 8:15. ( )3. A. Sam. ( )4. A. Not so good. ( )5. A. The Main Post Office. ( )6. A. He wants to find a new job. ...
【单选题】已知 String s1="hello"; String s2=new String("hello"); 则表达式s1==s2的结果是?
【简答题】有“_____”、“美食天堂”、“万国市”、“购物天堂”等誉。
【单选题】已知 String s1="hello world"; String s2=new String("hello ")+new String("world"); 则表达式s1.compareTo(s2)的结果是?
【单选题】已知 String s1="hello"; String s2=new String("hello"); 则表达式s1.equals(s2)的结果是?
【单选题】已知String str=new String ('Luck');,则下列关于str的操作中不合法的是( )。
A.
String s=str. toUpperCase()
C.
char s=str. charAt(2);
【单选题】已知 String s1="hello world"; String s2=new String("hello ")+new String("world"); 则表达式s1.equals(s2)的结果是?
【单选题】已知 String s1 = "ABCD1234"; String s2 = new String("ABCD1234"); 下面结果为true 的是:
【单选题】已知 String s1=new String(“hello”) ; String s2=new String(“hello”) ;则 System.out.println(s1==s2) 和 System.out.println(s1.equals(s2)) 的输出结果分别是
【判断题】香港有“东方之珠”、“美食天堂”、“万国市”、“购物天堂”等誉。( )