0

Subclass, SuperClass and Games

Is the method of superclass also in subclass! We use it in game as evolution or update level still have the old moves?

11th Aug 2019, 10:12 AM
Nguyễn TĂ­n
1 Answer
+ 3
Yes the method that is in super class gets inherited by the sub class, if you want the sub class to have it's own implementation of that method then you will can override the inherited version in sub class.
11th Aug 2019, 5:58 PM
D_Stark
D_Stark - avatar