title: Time of Strings Creation in Java
body: <p>I am writing an app for J2ME devices and pretty much care about unnecessary String creation.
  As working with Strings is built-in, i.e. it is not necessary to create them explicitly, I am not sure if I understand it right.</p>
  
  <p>For instance returning a String (just by using the double quotes) creates the string when it is being returned, i.e. if I have several return statements returning different Strings, only one of the would be created. Is that right?</p>
  
  <p>Also when using Strings for printing messages with Exceptions, these Strings never get created, if the Exception doesn't get thrown, right?</p>
  
  <p>Sorry to bother you with such a newbie question.</p>