Home »
MCQs »
Java MCQs
What is stringBuffer in java?
47. What is stringBuffer in java?
- Class to create a string array
- Class to create a mutable string in java
- Class to create a string from i/o buffer
- All of these
Answer: B) Class to create a mutable string in java
Explanation:
StringBuffer class is used to create modifiable strings in java.