Title Person and Employee Inheritance
Catalog Type SLCItem
Persistent ID https://adapt2.sis.pitt.edu/pcex/index.html?lang=PYTHON&set=py_classes_inheritance
Platform Name PCEX
Features
Description Construct two classes: one represents a Person and another one represents an Employee that should be defined as Person's child class. The classes should define the functions to check if the person is an employee and return the person's name.
Keywords classes, objects
Author Kamil Akhuseyinoglu
Institution University of Pittsburgh
Iframe URL https://adapt2.sis.pitt.edu/pcex/index.html?lang=PYTHON&set=py_classes_inheritance
Protocol PITT, HTML
Protocol URL
License MIT
Programming Language Python
Natural Language en

Preview