[单项选择题] 给出下列的程序段,则哪个选项返回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;
正确答案:A

[单项选择题] 给出下列的程序段,则哪个选项返回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;
正确答案:A