Instance variable becomes invisible after local var is declared
<p>When you declare a local variable within method using the same name and type like instance variable of - does it mean the instance variable becomes 'invisible' inside that method?</p>

<pre><code>public class Test {
 Card card;
 public void foo(){
  Card card = new Card();
  card.test();
 }
}
</code></pre>

<p>So I'm declaring and instantiating local variable card in foo() method. And then test() method is called for local variable. If I removed the <code>Card card = new Card();</code> test() method is invoked for instance variable.</p>
