首页 > 外贸类考试> 国际商务师
题目内容 (请给出正确答案)
[多选题]

String s = "hello";String t = "hello";char c[] = {'h','e

A.s.equals(t);

B.t.equals(c);

C.s==t;

D.t.equals(new String("hello"));

查看答案
答案
收藏
如果结果不匹配,请 联系老师 获取答案
您可能会需要:
您的账号:,可能还需要:
您的账号:
发送账号密码至手机
发送
安装优题宝APP,拍照搜题省时又省心!
更多“String s = "hello";String t = …”相关的问题
第1题
类Test定义如下: public class Test{ public static void main(String args[]) {

类Test定义如下: public class Test{ public static void main(String args[]) { String sty=new String("abcde"); char ch[]={A,B,C,D,E}; ml(str,ch); System.out.print(str+","); System.out.println(ch); } public static void ml(String s,char ch[]) { s="Hello"; ch[3]=Z; } } 那么程序的执行结果为:【 】

点击查看答案
第2题
import java.io.*;public class abc{public static void main(String args[ ]){AB s = new AB(

import java.io.*;

public class abc

{

public static void main(String args[ ])

{

AB s = new AB("Hello!","I love JAVA.");

System.out.println(s.toString());

}

}

class AB

{

String s1;

String s2;

AB (String str1 , String str2 )

{

s1 = str1;

s2 = str2;

}

public String toString() { return s1+s2;

}

}

点击查看答案
第3题
— Hello! My name's Jack Smith. — Hello! Mr. ______.A.JackB.SmithC.Jack Smith

— Hello! My name's Jack Smith. — Hello! Mr. ______.

A.Jack

B.Smith

C.Jack Smith

点击查看答案
第4题
-- Hello,is that you Mary ?This is Jane speaking .-- _____A.That's all right .B.T

A.That's all right .

B.Thanks for your concern .

C.Hello,Jan

D.Here's Mary .

E.Thank you,Jan

点击查看答案
第5题
已知字符串s='hello',则表达式'he' not in 'hello'的值为()

A.'True'

B.'False'

C.True

D.False

点击查看答案
第6题
下面选项中的程序段,没有编译错误的是A.char*sp,s[10];sp=""Hello"";B.char*sp,s[10];S=""Hello"

下面选项中的程序段,没有编译错误的是

A.char*sp,s[10];sp=""Hello"";

B.char*sp,s[10];S=""Hello"";

C.charstrl[10]=""computer"",str2[10];str2=strl;

D.charmark[];mark=""PROGRAM"";

点击查看答案
第7题
已知chars[]={"Hello"};数组s中字符串长度是_____.

点击查看答案
第8题
— Hello! Is that Bill speaking? — Yes. Bill.A.I'mB.This isC.My name's

— Hello! Is that Bill speaking? — Yes. Bill.

A.I'm

B.This is

C.My name's

点击查看答案
第9题
Jack said hello to John’s parents and thanked them()their kindness.A、fromB、withC、forD、by

Jack said hello to John’s parents and thanked them()their kindness.

A、from

B、with

C、for

D、by

点击查看答案
第10题
—Hello! May I speak to Mary?—________________

A.Are you Jenny?

B.I’m listenin

C.Hi, how are you?

D.It’s Mary speakin

E.

点击查看答案
第11题
- Hello , could I speak to Don please?-()A. Who are youB. Are you JaneC. Who's spea

- Hello , could I speak to Don please?-()

A. Who are you

B. Are you Jane

C. Who's speaking

点击查看答案
退出 登录/注册
发送账号至手机
密码将被重置
获取验证码
发送
温馨提示
该问题答案仅针对搜题卡用户开放,请点击购买搜题卡。
马上购买搜题卡
我已购买搜题卡, 登录账号 继续查看答案
重置密码
确认修改