Accessing properties in a super class using super or this in the subclass?
<p>In terms of values for properties defined in the super class using the same property in the sub-class and the property is defined as protected, then using super or this does not make any difference right ? <strong>Then why does the language really have these ways of accessing the properties ?</strong> Is there a scenario where they will have different values. </p>

<pre><code>    class A{ protected int a = 15; 
    }

    class B{ 
    public void printA()
{
    System.out.print(super.a) // prints 15
    System.out.print(this.a) // prints 15
 }   
</code></pre>

<p>}</p>
