Difference between String and StringBuffer.
Answer Posted / madhu
string is imutable and stringbuffer is mutable
Mutable means storing location is same
Imutable means storning location is different
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What is stringwriter?
Is there a sort function in java?
What is a map? What are the implementations of map?
What happens if we don’t define serial version uid?
What is lazy programming?
What is java command?
What is the Scope of Static Variable?
How can I debug the Java security exceptions and AccessControlExceptions?
What are the types of casting?
What happens if an exception is throws from an object's constructor?
What is the difference between assignment and initialization?
Explain how can you debug the Java code?
What is meant by class and object in java?
How do you check if a number is a perfect square?
What are scalar data types?