Day 21 Learned about Class Inheritance. Classes can inherit appearance and behavior from parent classes. Simply include it in the parentheses of the class call (e.g. class Fish(Animal)) and add super().__init__() to the definition method. If methods of the subclass add to the methods of the superclass, the super().method() must
Month: March 2022
Total 2 Posts
Day 16 Began move from Procedural Programming to Object Oriented Programming OOP Splits larger tasks into smaller pieces that can be worked on separately. Used illustration of a restaurant and the division of responsibilities among employees Projects can become more complex with OOP. Classes and Objects Modeling includes determining what
Recent Comments