Is it better to create a new object and return it or create the new object in the return statement?
<p>For example: </p>

<pre><code>public Person newPerson() {
  Person p = new Person("Bob", "Smith", 1112223333);
  return p;
}
</code></pre>

<p>as opposed to:</p>

<pre><code>public Person newPerson() {
  return new Person("Bob", "Smith", 1112223333);
}
</code></pre>

<p>Is one more efficient than the other?</p>
