Difference between String and StringBuffer.
Answer Posted / madhu
string is imutable and stringbuffer is mutable
Mutable means storing location is same
Imutable means storning location is different
Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What is a method in java?
What is a java list?
What is the main advantage of passing argument by reference?
what is the difference between thread and runnable types? : Java thread
What is append function?
FOR EXAMPLE WE R HAVING TWO LIST ELEMENTS ..BOTH LISTS CONTAINS ID,NAME,PLACE ..I NEED TO COMPARE BOTH IDS IN TWO LISTS,IF ID'S R SAME MEANS WE HAVE ADD THE DETAILS(LIKE NAME,PLACE) TO MAP...HOW IS POSSIBLE ?CAN ANY ONE SUGGEST?
What is difference between calling start() and run() method of thread?
What is a pattern what is an anti pattern?
Explain the difference between arraylist and linkedlist in java?
What is the use of static methods?
What is static method with example?
What is the finalize method do?
What are classloaders?
Can you explain the cs option of java interpreter?
What is the difference between arraylist and hashset in java?