单项选择题

假设有以下代码:
String s="hello";
String t="hello";
char c[]={"h", "e", "l", "l", "o"};
下列选项中,返回false的语句是______。

A.equals(t);
B.equals(c);
C.s==t;
D.equals (new String("hello"));
题目列表

你可能感兴趣的试题

微信扫码免费搜题