单选题:About String in Java, which statement below is NOT correct?
About String in Java, which statement below is NOT correct? @[D](2)
A. A String object is immutable.
B. A String object can be initialized using the = operator with a string literal.
C. Class Object defines toString() function to generate a String represents the object.
D. A String object can be altered using the = operator with a string literal.
A.A String object is immutable.
B.A String object can be initialized using the = operator with a string literal.
C.Class Object defines toString() function to generate a String represents the object.
D.A String object can be altered using the = operator with a string literal.
答案:D
A. A String object is immutable.
B. A String object can be initialized using the = operator with a string literal.
C. Class Object defines toString() function to generate a String represents the object.
D. A String object can be altered using the = operator with a string literal.
A.A String object is immutable.
B.A String object can be initialized using the = operator with a string literal.
C.Class Object defines toString() function to generate a String represents the object.
D.A String object can be altered using the = operator with a string literal.
答案:D