Computer Science, asked by abi02092001, 4 months ago

Which of these is an incorrect statement? *
None of the mentioned
StringBuffer class is used to store string in a buffer for later use
String object can point to some other reference of string variable
String objects are immutable, they cannot be changed​

Answers

Answered by madiha
16

Answer:

I think 2 one i hope it is help you

Answered by AtharvSena
1

The incorrect statement is StringBuffer class is used to store string in a buffer for later use.

StringBuffer is a String peer class that provides a lot of the same functionality as strings. StringBuffer represents growable and writable character sequences, whereas string represents fixed-length, immutable character sequences.

The StringBuffer class is used to create strings that can be changed after they've been formed.

Thus, StringBuffer class is used to store string in a buffer for later use is an incorrect statement.

#SPJ3

Similar questions