A . true
B . false
C . 1
D . 0
[单选题]表达式1+2+"hello"+8的值为( )。A.12hello8B.3hello8C.12helloD.不能运算
[单选题]表达式1+2+"hello"+8的值为( )。A.12hello8B.3hello8C.12helloD.不能运算
[单选题]表达式String(2,"Shanghai")的值是( )。A.ShB.ShanghaiC.ShanghaiShanghaiD.SS
[单选题]顺序执行下列程序语句后,则b的值是 String a="Hello"; String b=a.substring(0,2);A.HelloB.helloC.HeD.null
[单选题]假设有以下代码: String s="hello"; String t="hello"; char c[ ]={'h','e','l','l','o'}; 下列选项中,返回false的语句是______。A.s.equals(t);B.t.equals(c);C.s==t;D.t.equals(new String("hello"));
[单选题]表达式Len(String(6, "9"))的值是( )A.9B.6C.999999D.出错
[单选题]给出下面的代码,则以下( )选项返回true。 String s="hello"; String t="hello"; Char c[]={'h','e','l','l','o'};A.s. equals (t) ;B.t. equals (C);C.s==t;D.t==c;
[单选题]给出下列的代码,则以下( )选项返回true。 String s="hello"; String t="hello": char c[]={'h','e','l','l','o',};A.s.equals(t);B.t.equals(c);C.s==t;D.t==c;
[单选题]给出下列的代码,则以下哪个选项返回true? String s="hello"; String t="hello"; char c []= {'h','e','1','1','o'};A)s.equals(t);A.t. equals(B.;C.s==t;D.t==c;
[单选题]顺序执行下列程序语句后,则b的值是 String a = "Hello"; String b = a.substring(0,2);A.HelloB.helloC.HelD.null