Home » JAVA Programming » Strings » Question
  1. Which of these is an incorrect statement?
    1. String objects are mutable, they cannot be changed
    2. StringBuffer class is used to store string in a buffer for later use
    3. String object can point to some other reference of String variable
    4. String objects are immutable, they cannot be changed
    5. None of these
Correct Option: B

StringBuffer class is used to create strings that can be modified after they are created.



Your comments will be displayed only after manual approval.