Difference between StringBuffer and StringBuilder ?
Javasearch.buggybread.com

Search Interview Questions


 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Interview Questions and Answers

Very frequently asked. Usually difference between String,StringBuffer and StringBuilder is asked in different variations.
  Q1. Difference between StringBuffer and StringBuilder ?Core Java
Ans. StringBuffer is synchronized whereas StringBuilder is not.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     java   string   stringbuffer   string class   stringbuilder   synchronized   basic interview question   infosys technologies     Asked in 17 Companies      basic        frequent

Try 1 Question(s) Test


Related Questions

  Explain the scenerios to choose between String , StringBuilder and StringBuffer ?

or

What is the difference between String , StringBuilder and StringBuffer ?
  Which String class does not override the equals() and hashCode() methods, inheriting them directly from class Object?
  What is the difference between StringBuffer and String class ?
 Write a method it will return reverse of the string(with out using reverse method of String or StringBuffer)
  Which of the following class creates mutable objects ?
  Which of the following has been introduced with Java 8 ? a. StringBuffer b. StringBuilder c. StringFilter d. StringJoiner
 Can StringBuffer and StringBuilder in Java be inherited?
 why string pool concept for only String but not for StringBuffer ?
 why string pool concept for only String but not for StringBuffer ?



Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: