Difference between the String and StringBuffer classes?
Answer Posted / sathya
String class is immutable i.e oncle created the value
cannot chage.
Stringbuffer class is mutable.The value can change.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Why can't we make a class private in java?
What is method overloading in java ?
Does java return by reference?
Which sorting algorithm is best in java?
What is the use of toarray () in java?
Write a program to print 15 random numbers using foreach of java 8?
What about features of local inner class?
What is the main purpose of java?
What is string and its types?
What restrictions are placed on method overloading in java programming?
Is vector ordered in java?
When arithmeticexception is thrown?
What are the new features in java 8? Explain
What is the equal sign?
What does isempty () do in java?