The Person
, Student
and Teacher
classes have the following instance variables, methods, and inheritance relationship:
Assume we have a Person object person
, a Student object student
, and a Teacher object teacher
Which of the following is a valid instruction?