题目内容

"\hello"是正确的String常量.

A. 对
B. 错

查看答案
更多问题

表达式new String("abc")=="abc"的值是true.

A. 对
B. 错

表达式new String("abc")==new String("abc")的值是false.

A. 对
B. 错

Random对象的nextInt(int n)方法随机返回[0,n)区间的一个整数.

A. 对
B. 错

表达式"\t\nABC".length()的值是5.

A. 对
B. 错

答案查题题库