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 ? Then why does the language really have these ways of accessing the properties ? Is there a scenario where they will have different values.
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
}
}