JAVA STRINGBUFFER APPEND METHOD DEMO

2,083 views · Published 18 January 2015 · 2:20 · Indexed 19 October 2026

Channel: Interview DOT · 2015 · Science & Technology

Watch on YouTube

Click here - https://www.youtube.com/channel/UCd0U_xlQxdZynq09knDszXA?sub_confirmation=1 to get notifications. JAVA STRINGBUFFER APPEND METHOD DEMO
 Java StringBuffer Demo - www.InterviewDot.com
   
   Explain STRINGBUFFER "APPEND" Method in Java 
   
   The StringBuffer class is used to represent CHARACTERS that can be MODIFIED.
   
   StringBuffer is FASTER than STRING when performing simple concatenations.
   
   StringBuffer Stringbuilder can be modified over and over again with out leaving behind a lot of new UNUSED objects.
   
   It is recommended to use StringBuilder whenever possible because it is faster than StringBuffer. 
   However if THREAD SAFETY is necessary the best option is STRINGBUFFER objects.
JAVA STRINGBUFFER APPEND METHOD DEMO

More from this channel