Answer Posted / gayathri
String is immutable that once the value assigned to object
cannot be modified.Suppose if we want to perform
concatenation another string object will be prepared and
the value is going to assign for that object.in total we
are having 2 objects
StringBuffer is Mutable we can change the value of the
object even the value is assigned to the object.
Is This Answer Correct ? | 29 Yes | 2 No |
Post New Answer View All Answers
What is java collection? : java collections
Which java collection class can be used to maintain the entries in the order in which they were last accessed?
What are the types of interface used in the java collections? : java collections
Which interface does java.util.hashtable implement?
What is the use of hashcode in java ?
How do I find jre path in windows?
What is an algorithm in java collection framework? : java collections
my interviewer asked me what technical specification you used how to answer that question
What are the interfaces in java collections? : java collections
What are the types of the main implementing classes in the map interfaces? : java collections
What are the different types of features of the java collections framework? : java collections
What are maps interfaces in the java collections? : java collections
What are the classes in the java collection framework? : java collections
What are the differences between the java collection and the java list? : java collections
What is the enumerator of the java collection framework? : java collections