Question: Suppose that we have a Teacher class that contains two data members a qualification and a name string. The ScienceTeacher class inherits from Teacher. Which
Suppose that we have a Teacher class that contains two data membersa qualification and a name string. The ScienceTeacher class inherits from Teacher. Which of the following is true?
Question options:
ScienceTeacher contains a qualification and a lab section but no name string.
ScienceTeacher contains a lab section but not a qualification.
ScienceTeacher contains both a qualification and a name string.
It is impossible to know without examining the definition of the ScienceTeacher class.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
