Call me String Buffer

I'm Muttable, Thread Safe and Synchronized. πŸŽ›
Send that immutable String and that crazy String Builder to the deeps. 😎
I'm serious. No, I'm not, well...perhaps.

THE SERIOUS STUFF 
Here you will have the difference between StringBuffer, StringBuilder and the String class.

STRING BUFFER
πŸ‘πŸ» Thread Safe
πŸ‘πŸ» Syncronized
πŸ‘ŽπŸ» Slower than String Builder

STRING BUILDER
πŸ‘ŽπŸ» Non Thread Safe
πŸ‘ŽπŸ» Non Syncronized 
πŸ‘πŸ» Faster than String Buffer

STRING
πŸ‘ŽπŸ» Immutable. So, you don't change a String. Other modified copy of the instance will be on the heap every time you "change it". Got it?

πŸ†πŸ†πŸ† TOP FACTS πŸ†πŸ†πŸ†
πŸ“‘ Unity invests hard to attract new coders and 3D developers with great packages and free training.
πŸ“‘ The first "usable" Digital 3D Shades will be launched to the public till the end of 2017.
πŸ“‘ Are you ready for the almost extinction of laptops, cellphones, CPUs and tablets? The 3D glasses are coming.

Comments

Post a Comment

Please leave your comment! It will always be interesting!

Popular Posts

SPONSORS

Methark - Business, Marketing & IT Outsourcing

LinkCollider - Website Ranking Tool Using Social Media