Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. Today I learned how inheritance works on parent and subclasses.
  2. How the super method brings in all of the initialize instance variables over to subclass and able to add new instances in subclass.
  3. 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