Discussion Forum : Searching And Modifying A String
Question -

Which of these is an oncorrect statement?

Options:
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

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



Was this answer helpful ?
Next Question
Submit Your Solution hear:

Your email address will not be published. Required fields are marked *