Difference between String & StringBuffer

Answer Posted / navneet raushan

The great difference between String and string buffeer is
that String buffer is thread safe where as String is not
thread safe as well as string is immutable and String
buffewr is mutable.

Is This Answer Correct ?    77 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you define a singleton class?

489


What is an array in java?

627


What is a pointer and does java support pointers?

544


Can you declare an interface method static?

571


How to instantiate member inner class?

615






What is jar?

623


What is the purpose of finalization in java programming?

546


What do you understand by casting in java language?

562


How we can run a jar file through command prompt in java?

508


why doesn't java run on all platforms?

558


How do you use equal in java?

539


How does remove work in java?

511


What are the advantages of functions?

511


explain copyonwritearraylist and when do we use copyonwritearraylist?

528


Tell me the Importent classes in net package?

1572