Sunday, 18 September 2016

ways to create

13.2 Ways to create StringBuffer object

Ways to create a StringBuffer object :
  • We can create String object by using three ways.
  • Coming to StringBuffer, dont expect three ways to create StingBuffer object.
  • It is not possible to create StringBuffer object by using literal
  • It is possible to create StringBuffer object by using new operator.
Thanks for your time.
Nireekshan