Difference between string object and string literal

Viewed 300052

What is the difference between

String str = new String("abc");

and

String str = "abc";
13 Answers
Related