0
We can call object class methods by using interface reference but Object doesn't inherit to interface. Why its possible?
In Java interface and implementation class
2 odpowiedzi
0
I think it's bcz of implementation class methods will reflect to parent inheritance since implementation class should inherited from Object class ..
So by using the interface reference we can call the objects class methods..