Discussion :: JAVA MCQs
- Which of these is an oncorrect statement?
A.
String objects are immutable, they cannot be changed.
|
B.
String object can point to some other reference of String variable.
|
C.
StringBuffer class is used to store string in a buffer for later use.
|
D.
None of the mentioned
|
Answer : Option C
Explanation :
StringBuffer class is used to create strings that can be modified after they are created.
Be The First To Comment