Sunday 18 September 2016

StringBuffer living

13.5 Where StringBuffer exists


Where StringBuffer is living?
  • StringBuffer is a predefined class presents in java.lang package.
  • All methods presents in StringBuffer are synchronized, means at a time only one thread is allowed to share the resource.
Thanks for your time.
Nireekshan