Difference between the String and StringBuffer classes?
Answer Posted / anitha
yes, String is a immutable that means once the string
object is created it cannot be changed.
String Buffer: it is a mutable,this object is changed if we
make any modifications.
Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What are drawbacks of singleton class?
When wait(), notify(), notifyall() methods are called does it releases the lock or holds the acquired lock?
What is a java developer salary?
What is super in java?
What is a short in java?
What is the range of a character variable?
What is the difference between final, finally and finalize() in java?
When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?
placement papaers of spring computing technology
How to implement a multithreaded applet?
Is java still necessary?
What is hashmap in java?
Can two objects have same hashcode?
What is meant by the value of a variable?
What is continuity of a function?