问题 单项选择题

下列值不为true的表达式有()。

A、"john"=="john"

B、"john".equals("john")

C、"john"="john"

D、"john".equals(new String("john"))

答案

参考答案:C

单项选择题
单项选择题