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 the purpose of the main method?
Give differences between Quicksort &Mergesort. When should these sorts be used andwhat is their running time in java?
What is the maximum size of hashmap in java?
How do you convert an int to a string in java?
Explain restrictions on using enum?
What are different data types?
what is the messsage u r going to get from an objectoriented programing?
What’s meant by anonymous class?
Why runnable interface is used in java?
How many classes can any class inherit java?
How to convert string to byte array and vice versa?
Is empty in java?
What is the unit of plancks constant?
What is constructor and virtual function? Can we call a virtual function in a constructor?
What does sprintf mean?