ProAnswers.org

How many ways we can create the string object?

There are two ways to create the string object, by string literal and by new keyword.