Difference between String & StringBuffer
Answer Posted / tashu
1)String class is of fixed length, but stringbuffer class is
of variable length.
2)String class can't insert character or sub string in the
middle of string, but in Stringbuffer class this is possible.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What are the types of java?
How will you serialize a singleton class without violating singleton pattern?
Explain about the interpreter in java?
Can I declare a class as private?
What is called module?
What is the difference between processes and threads?
why are wait(), notify() and notifyall() methods defined in the object class? : Java thread
How many bytes is double?
What are jee technologies?
Where pragma is used?
what is singleton class in java?
What are the differences between Java 1.0 and Java 2.0?
What is parameters example?
Can we increase size of array?
What are three advantages of using functions?