Sunday 18 September 2016

ways to create String object

12.2 ways to create String object

How many ways to create String object?
  • There are three ways to create String object
      1. Literal.
      2. new operator.
      3. character array.
Thanks for your time.
Nireekshan