- 1
Over ride
Can someone help me explain more what over ride is in java
2 ответов
+ 2
It's used in runtime polymorphism when the variable type is of super class and the object is of sub class, if you override one of the inherited methods in sub class the sub class method will be called instead of the method in parent class during runtime..