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
What do you mean by flow of struts?
What is the use of string and stringbuffer?
Does java allow overriding static methods ?
How does java enable high performance?
What is classname class in java?
What is the difference between Grid and Gridbaglayout?
Does java runtime require a license?
What are parameters in a method?
How do I type unicode?
How do you reverse a word in java?
How does hashset work in java?
Where is singleton pattern used?
Where pragma is used?
How to display arraylist values in java?
How to reverse a string in java?