Facebook

adsense

Monday 18 May 2015

QUESTION 19

What is difference between StringBuffer and StringBuilder in Java ?
Solution :
Classic Java questions which some people thing tricky and some consider very easy. StringBuilder in Java is introduced in Java 5 and only difference between both of them is that Stringbuffer methods are synchronized while StringBuilder is non synchronized. See StringBuilder vs StringBuffer for more differences

             <PREVIOUS || Main Page || NEXT >
               GIVE YOUR COMMENT BELOW

1 comment:

  1. Great tips, many thanks for sharing. I have printed and will stick on the wall! I like this blog. Phlebotomy Mobile App

    ReplyDelete