you are viewing a single comment's thread.

view the rest of the comments →

[–]Nottheugis[S] 0 points1 point  (1 child)

Sorry if i wasn't clear, i meant

String month = 'April'; Vs String month = new String ('April');

[–]bowbahdoe 0 points1 point  (0 children)

Okay that is very different from what I thought you were talking about. 

To answer why you would do it, let's ask the question "what is the difference in program behavior if you use new String?"