API documentation wrote:
Initializes a newly created String object so that it represents an empty character sequence. Note that use of this constructor is unnecessary since Strings are immutable.
Edit: Grrr, stop that
Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.
posted 8 years ago
Yes you are right. The above program also prints the same thing. Thanks