Question: . Construction method: nonparametric construction method, parametric construction method 3. Member method: getxxx method, setXXX method, display basic information, showmsg method Define the teacher class

. Construction method: nonparametric construction method, parametric construction method

3. Member method: getxxx method, setXXX method, display basic information, showmsg method

Define the teacher class and inherit person

1. Attribute: Discipline

2. Construction method: nonparametric construction method, parametric construction method

3. Member method: getxxx method, setXXX method, lecture method

Define student class and inherit person

1. Attribute: Score

2. Construction method: nonparametric construction method, parametric construction method

3. Member method: getxxx method, setXXX method, examination method

Define test4 test class, test showmsg method, lecture method and examination method.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!