title: Anonymous variables (?) advantages?
body: <p>I was wondering about one thing that jumped into my mind yesterday. <br>
  I apologize in advance for the misleading title, but I really don't know how to entitle this.<br><br>
  Well, suppose we are two objects <code>ObjA</code> and <code>ObjB</code>, and that, for instance, <code>ObjB</code> has a method that takes an <code>ObjA</code> object as argument.
  <br><br>
  We can do this (taking java as language):</p>
  
  <pre><code>ObjA instanceA = new ObjA();
  ObjB instanceB = new ObjB();
  
  instanceB.method(instanceA);
  </code></pre>
  
  <p>or</p>
  
  <pre><code>new ObjB().method(new ObjA());
  </code></pre>
  
  <p>Assume this is the body of some function, so the objects will be destroyed when going out of scope.<br><br>
  My question is:<br>
  do we get a performance advantage by not instantiating the singular objects and calling the implicitly as for the second code? <br>Is this readability sacrifice worth something? <br>Or is it all for nothing since the implicitly created objects will be stored in memory and die by scope anyway? </p>
  
  <p><br> Note: I don't know if I'm saying right with "implicit" or "anonymous", but I have not found much on Google.</p>