string buffer in java

Solutions on MaxInterview for string buffer in java by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "string buffer in java"
Maite
18 Jun 2018
1StringBuffer buffer = new StringBuffer("Harvard"); 
2// mutable we modify object
3        buffer.append(" School"); 
4// append method we are calling from Buffer ** synchronized means slow
5
6        System.out.println(buffer); // Harvard School