Results 1 to 4 of 4
  1. #1
    Senior Member dennis123's Avatar
    Join Date
    Apr 2013
    Location
    Bangalore
    Posts
    3,627

    Differentiate between StringBuffer and StringBuilder in Java programming.

    Differentiate between StringBuffer and StringBuilder in Java programming.

  2. #2
    StringBuffer class is synchronous. This means that two threads can not call concurrent methods of the StringBuffer class.

    StringBuilder is non-synchronized. This means that two threads can call concurrent methods of the StringBuilder class

  3. #3
    Registered User
    Join Date
    Sep 2017
    Posts
    1,192
    Changeability Difference: String is permanent, in the event that you attempt to modify their qualities, another question gets made, though StringBuffer and StringBuilder are impermanent so they can change their qualities. String Safety Difference: The distinction amongst StringBuffer and StringBuilder is that StringBuffer is string safe.

  4. #4
    Registered User
    Join Date
    Nov 2017
    Posts
    98
    StringBuffer is mutable means one can change the value of the object . The object created through StringBuffer is stored in the heap . StringBuffer has the same methods as the StringBuilder , but each method in StringBuffer is synchronized that is StringBuffer is thread safe .
    Get your Emails verified by ZeroBounce
    ZeroBounce - Validate your E-mails
    The best email verification service

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

  Find Web Hosting      
  Shared Web Hosting UNIX & Linux Web Hosting Windows Web Hosting Adult Web Hosting
  ASP ASP.NET Web Hosting Reseller Web Hosting VPS Web Hosting Managed Web Hosting
  Cloud Web Hosting Dedicated Server E-commerce Web Hosting Cheap Web Hosting


Premium Partners:


Visit forums.thewebhostbiz.com: to discuss the web hosting business, buy and sell websites and domain names, and discuss current web hosting tools and software.