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 the enumerator of the java collection framework? : java collections
What are the considerations to be made in case of loops in java ?
What is the use of hashcode in java ?
Which server-side script takes the input from JavaScript, can access the database if it needs to, and processes the data.
What is the Spring2.5 MVC Navigation flow?
How is hashset maintained in memory by java ?
In hyderabad, which s/w training center is best for java, other than corejava what r the new tools to learn in java,which tool is best & have current requirement,pls give me information about java to learn ?
What are the main classes of the list interfaces? : 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
What are the classes in the java collection framework? : java collections
What are the different types of collections views being provided by the map interface? : java collections
What are the differences between the java collection and the java list? : java collections
What are the interfaces in java collections? : java collections
please mail me the interview question based on java/j2ee