0
Explanation
here, the super class remains the class animal, while the subclass is dog.. as you can see, dog inherits attributes from animal using the "extends" keyword however, you still need to set the variable for the number of leg's.. the last piece of code is just a call for the dog subclass to showcase its God giving abilities which is animal eats
1 Answer
+ 8
??Thanks for the explanations?