Menu Bar

Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Tuesday, 6 December 2016

What is Difference Between StringBuffer And StringBuilder In Java ?

Here get all the differences between StringBuffer and StringBuilder In Java.

String Buffer
String Builder
String Buffer is synchronized.
String Builder is not synchronized.
String Buffer is thread-safe.
String Builder is not thread-safe.
Its performance is slow due to thread-safe property.
Its performance is fast because it is not thread-safe.
String Buffer is mutable.
String Builder is mutable.
String Buffer is stored in heap.
String Builder is stored in heap.



      
Blog Author - Pushkar Khosla,
Software Developer by Profession with 3.0 Yrs of Experience , through this blog i'am sharing my industrial Java Knowledge to entire world. For any question or query any one can comment below or mail me at pushkar.itsitm52@gmail.com.

This blog is all about to learn Core Java ,Interview Programs and Coding tricks to polish your Java Knowledge. If you like the content of this blog please share this with your friends.



Share this Blog with yours Friends !!

No comments:

Post a Comment