Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In java TASK: Create three classes, Human, Professor, and Student, that have the following properties: The Human class should be an abstract class. It should
In java
TASK: Create three classes, Human, Professor, and Student, that have the following properties: The Human class should be an abstract class. It should have a private String instance variable name. It must have a constructor that has one String parameter and sets the name instance variable to the constructor's argument. It must also have a no-parameter public instance method called getName that returns the name instance variable Both the Professor and Student classes must extend from the Human class The Professor class must have a public ArrayListStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started