Difference between String and String Buffer?

Answer Posted / ravikiran(aptech mumbai)

string is immutable
string buffer is mutable

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What lambda means?

541


What is the difference between error and an exception?

567


Explain with example the concept of constant variable in java.

626


Write a program to reverse a number in java?

557


What are the topics in core java?

528






Can inner class extend any class?

594


What is local variable and instance variable?

602


Can you call a method on a null object?

559


What is the use of jtable?

649


Can we have static methods in an interface?

557


Does java support multiple inheritances?

556


Is java se free?

519


How to print an arraylist in java?

491


how does multithreading take place on a computer with a single cpu? : Java thread

688


What is stack class in java?

538