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
Explain the use of volatile field modifier?
Is alive in java?
Is object a data type?
How can you say java is object oriented?
Realized?
What is meant by anonymous class?
What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?
What is the difference between iterator and enumeration ?
What is a variable declaration?
What is the SimpleTimeZone class?
What is the properties class in java programming?
What are the advantages of encapsulation in java?
What is the use of default method in interface in java?
What is the difference between declaration and definition in java?
Can string be considered as a keyword?