4. Write a new class professor to inherit the class
teacher, add an attributed address, and write a getter
and setter method for the new class. Finally, write a
method display_info() to print information. (1 point)
The output should be:
4
Your selection (1 -> 4):
Enter name: Billy Tran
Enter age: 35
Enter class: SE1717
Enter address: Lubbok - Texas
OUTPUT
Age: 35
Class: SE1717
Name: Billy Tran
Address: Lubbok Texas
Zoom
- FUO
+ 100%
Close