When a super interface variable holds a subclass object, then according to run time polymorphisms we can access those methods which are declared in super interface or has been overridden in subclass. So my question is ..........
How we get access to Object class methods like equal() on that reference variable, which is opposed to runtime polymorphisms, because equal() method has not been declared in Super Interface for which I'm taking about.
Please do answer this question. I'm hanking after this question
Vishal Agrawal
How we get access to Object class methods like equal() on that reference variable, which is opposed to runtime polymorphisms, because equal() method has not been declared in Super Interface for which I'm taking about.
Please do answer this question. I'm hanking after this question
Vishal Agrawal
Comment