what is the difference between String and StringBuffer classes?
Answer Posted / kishore cheruku
a) String objects are constants and immutable whereas StringBuffer objects are not. b) String class supports constant strings whereas StringBuffer class supports growable and modifiable strings.
| Is This Answer Correct ? | 23 Yes | 0 No |
Post New Answer View All Answers
How listener identify that the event came from a particular object?
What do bitwise operators do?
What is a subsequence of a string?
What is a variable analysis?
Is singleton a bad practice?
How can you share data between two thread in Java?
What is instance synchronization?
Explain about static imports in java?
Difference between overriding and overloading in java?
What is linked hashset and its features?
What is substring 1 in java?
What does mean in regex?
What is the reflection?
Define an abstract class with reference to java.
What is incompatible types in java?