Java. Instance variable value access via this operator
<p>i need someone help with this little code snippet; why is the output: b 3 and not b 13 as expected?</p>

<pre><code>public class Foo{ 
    int a = 3;
    public void addFive() { a+=5; System.out.println("f");}  
}

class Bar extends Foo{
int a = 8;
public void addFive() { this.a+=5; System.out.println("b");}  

public static void main(String[] args) {
    Foo f = new Bar();
    f.addFive();
    System.out.println(f.a);// why b 3 and not b 13 ??
    }
}
</code></pre>
