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 is an exception? difference between Checked and Unchecked exception in Java

568


Is null an object in java?

584


What is a final class in java?

557


What is variable in java?

535


How is a variable stored in memory?

540






What is java lang object?

533


What is difference between module and function?

548


What is string literal in java?

561


Which method returns the length of a string?

577


What is string pooling concept?

563


Explain why wait(), notify() and notifyall() methods are in object class rather than in thread class?

569


Why java is considered dynamic?

761


What is early binding and late binding in java?

606


Explain the difference between serializable and externalizable in java?

547


What is deserialization?

593