[单项选择题] 给出下列的程序段,则哪个选项返回true ( ) String s="hello"; String t="hello"; char c
9 查阅
[单项选择题] 给出下列的程序段,则哪个选项返回true ( )
String s="hello";
String t="hello";
char c[]="h","e","l","l","o";
A.s.equals(t);
B.Lequals(c);
C.s==t;
D.t==c;
参考答案: