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;
[单选题]假设有以下代码: 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"));
[单选题]下面这段代码会产生( )个String对象。Strings1="hello";Strings2=s1.substring(2,3);Strings3=s1.toString();Strings4=newStringBuffer(s1).toString();A.1B.2C.3D.4
[试题]String s = "Hello";s = s + " world!";这两行代码执行后,原始的String 对象中的内容到底变了没有?
[试题]String s = "Hello";s = s + " world!";这两行代码执行后,原始的String 对象中的内容到底变了没有?
[单选题]表达式"hello" instance of String返回的值是哪项?()A . trueB . falseC . 1D . 0
[单选题]顺序执行下列程序语句后,则b的值是 String a="Hello"; String b=a.substring(0,2);A.HelloB.helloC.HeD.null
[主观题]char *p="hello";printf("%s",p);p++;printf("%s",p);printf("%c",*p);
[单选题]顺序执行下列程序语句后,则b的值是 String a = "Hello"; String b = a.substring(0,2);A.HelloB.helloC.HelD.null