Difference between String and StringBuffer.
Answer Posted / minu
hi
i am agree with Madhu ,
String is an immutable object. StringBuffer is a mutable
object.
immutable object:If you are not allowed to change the value
of an object, it is immutable object.
mutable object: If a object value is changeable then we can
call it as Mutable object.
Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
What is the difference between stringbuffer and stringbuilder class?
What is a treemap in java?
How does java pattern compile work?
What are the characteristics of Final,Finally and Finalize keywords.
What are latest features introduced with java 8?
what do you mean by java annotations?
Why map is used in java?
What is stack example?
Objects or references which of them gets garbage collected?
What is callablestatement? How you can call stored procedure to pass in parameter?
Why are pointers not secure?
Is java 9 released?
What is a module function?
How to sort numbers in java without array?
What is the difference between path and classpath variables?