Friday, May 19, 2017

Instantiating a Python subclass

In this screenshot we instantiate the project manager subclass. The project manager subclass derives from the employee details parent class. Note that there are two cases: one where we input the employee id, name, etc, and the another where we do not supply any arguments to the constructor. In this case the default values in the constructor declaration supply the values.

 Instantiating a Python subclass
Click to enlarge
This concludes our screenshot series for this course. We will be offering it in our studio in the coming weeks.


No comments:

Post a Comment