给出下列的代码,则以下哪个选项返回true String s = "hello"; String t = "hello"; char c[ ] = {''h'',''e'',''l'',''l'',''o''};
A: Sub Pro4 (x As Form)
B: Sub Pro4 (y As Control)
C: Sub Pro4 (Forml As Form,Labell As Control)
D: Sub Pro4 (x As Currency)
A: Sub Pro4 (x As Form)
B: Sub Pro4 (y As Control)
C: Sub Pro4 (Forml As Form,Labell As Control)
D: Sub Pro4 (x As Currency)
举一反三
- 下列过程定义语句中,参数不是对象的定义语句是 A: Sub Pro4 (x As Form) B: Sub Pro4 (y As Control) C: Sub Pro4 (Forml As Form,Labell As Control) D: Sub Pro4 (x As Currency)
- 给出下列的代码,则以下哪个选项返回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;
- 给出下面的代码String s= "hello";String t = "hello";char c[] = {'h','e','l','l','o'};下列选项里,哪些返回true? [] A: s.equals(t); B: t.equals(c); C: s==t; D: t.equals(new String("hello")); E: t==c;
- 给出下列的程序段,则哪个选项返回true ( ) String s="hello"; String t="hello"; char c[]={'h','e','l','l','o'}; A: equals(; B: Lequals(; C: s==t; D: t==c;
- 给出下列的程序段,则哪个选项返回true ( ) String s="hello"; String t="hello"; char c[]='h','e','l','l','o'; A: equals(t); B: Lequals(c); C: s==t; D: t==c;