Beginner Java question about instance variables
<blockquote>
  <p><strong>Possible Duplicates:</strong><br>
  <a href="http://stackoverflow.com/questions/5747973/does-this-have-any-advantage">Does &ldquo;this&rdquo; have any advantage?</a><br>
  <a href="http://stackoverflow.com/questions/132777/do-you-prefix-your-instance-variable-with-this-in-java">Do you prefix your instance variable with &#39;this&#39; in java ?</a>  </p>
</blockquote>



<p>When assigning/referring to an instance variable, what's the difference between <code>this.foo</code>, and simply <code>foo</code>? Does the former give a performance gain or something, or is it just convention?</p>
