问题
单项选择题
给出下列的代码,则以下( )选项返回true。 String s="hello"; String t="hello": char c[]={'h','e','l','l','o',};
A.equals(;
B.equals(;
C.s==t;
D.t==c;
答案
参考答案:A
给出下列的代码,则以下( )选项返回true。 String s="hello"; String t="hello": char c[]={'h','e','l','l','o',};
A.equals(;
B.equals(;
C.s==t;
D.t==c;
参考答案:A