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 are the main classes of the list interfaces? : java collections
What are the uses of the set interfaces in the java collections? : java collections
What is the enumerator of the java collection framework? : java collections
Which server-side script takes the input from JavaScript, can access the database if it needs to, and processes the data.
What are the types of java collections? : java collections
Should we create system software ( e.g operating system ) in java ?
What are the classes in the java collection framework? : java collections
please mail me the interview question based on java/j2ee
What is the use of hashcode in java ?
my interviewer asked me what technical specification you used how to answer that question
What are the differences between the java collection and the java list? : java collections
What is the use of the list interface in the java collection? : java collections
can u draw class/object diagram for ATM
What is the difference between comparable and comparator in java.util pkg?
What are the queues in the java collection framework? : java collections