-->
当前位置:首页 > 题库

单选题:Which of the following statements is **NOT** true?

Luz5年前 (2021-05-10)题库2918
Which of the following statements is **NOT** true? @[C](2)

A. `Strings` can be initialized using the = operator with a string literal value.
B. The `toString()` method can be used to return a String value from an object of any class.
C. All strings are terminated with a `null` (‘\0’) character.
D. It is impossible to change the contents of a `String` object.



A.`Strings` can be initialized using the = operator with a string literal value.
B.The `toString()` method can be used to return a String value from an object of any class.
C.All strings are terminated with a `null` (‘\0’) character.
D.It is impossible to change the contents of a `String` object.


答案:C