题目
下列哪个程序段可能导致错误?
A.String s="hello"; String t= "good"; String k=s+ t;
B.String s="hello"; String t; t=s[3]+"one";
C.String s="hello"; String standard=s. toUpperCase
D.String s="hello"; String t =s+ "good"
第1题
下列的哪个程序段可能导致错误? ()
A.String s="hello"; String t="good"; String k=s+t;
B.String s="hello"; String t; t=s[3]+"one";
C.String s="hello"; String standard=s.toUpperCase();
D.String s="hello"; String t=s+"good";
第2题
下列的()程序段可能导致错误。
A.String s="hello": Sting t="good"; String k=s+t;
B.Sting s="hello"; String t; t=s [3] + "one";
C.Sting s="hello"; String standard=s.toUpperCase();
D.String s="hello": Stringt s +"good";
第3题
下面的哪些程序段可能导致错误? () Ⅰ:String s="Gone with the wind"; String t="good"; String k=s+t; Ⅱ:String s="Gone with the wind"; String t; t=s[3]+"one"; Ⅲ:String s="Gone with the wind"; String standard=s.toUpperCase(); Ⅳ:String s="home directory"; String t=s-"directory";
A.Ⅱ、Ⅲ
B.Ⅱ、Ⅳ
C.Ⅰ、Ⅳ
D.Ⅲ、Ⅳ
第4题
下面的哪些程序段可能导致错误? () Ⅰ: String s = "Gone with the wind"; String t = "good "; String k = s + t; Ⅱ: String s = "Gone with the wind"; String t; t = s[3] + "one"; Ⅲ: String s = "Gone with the wind"; String standard = s.toUpperCase(); Ⅳ: String s = "home directory"; String t = s-"directory":
A.Ⅱ、Ⅲ
B.Ⅱ、Ⅳ
C.Ⅰ、Ⅳ
D.Ⅲ、Ⅳ
第5题
A.在财务报表报出后,如果被审计单位管理层修改了财务报表,且注册会计师提供了新的审计报告或修改了原审计报告,注册会计师应当在新的或经修改的审计报告中增加强调事项段或其他事项段予以说明
B.在设计用以识别期后事项的审计程序时,注册会计师应当考虑风险评估的结果,但无须考虑对之前已实施审计程序并已得出满意结论的事项执行追加的审计程序
C.注册会计师应当恰当应对在审计报告日后知悉的、且如果在审计报告日知悉可能导致注册会计师修改审计报告的事实
D.注册会计师应当设计和实施审计程序,以确定所有在财务报表日至审计报告日之间发生的事项均已得到识别
第6题
给出下列的程序段,哪行在编译时可能会有错误? () ①public void modify() ②int i,j,k; ③ i=100; ④ while(i>0){ ⑤ j=i*2; ⑥ System.out.println("The value of j is "+j); ⑦ k=k+1; ⑧ } ⑨}
A.line 4
B.line 6
C.line 7
D.line 8
第7题
A.‘a’
B.126
C.M
D.‘A’
第8题
A.Short t=12+‘a’;
B.Char c=‘a’+1;
C.Char m=‘a’+x;
D.Byte n=‘a’+1;
第9题
A.m-->0
B.m++>0
C.m = 0
D.m>100&&true
为了保护您的账号安全,请在“赏学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!