Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Today I learned how inheritance works on parent and subclasses.
- How the super method brings in all of the initialize instance variables over to subclass and able to add new instances in subclass.
- We have to send the correct number of parameters over to subclass to avoid getting argument error.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement