Question: Polymorphism activity Due Mar 3 by 1 1 : 5 9 pm Points 1 0 Submitting a file upload Available Feb 1 1 at 1
Polymorphism activity
Due Mar by :pm Points Submitting a file upload Available Feb at :pm Mar at :pm
Modify the student class to include a private variable for graduation year.
Modify the person class to include a private variable for the birthdate.
Modify the undergraduate class to include a private variable the major.
Modify the polymorphism class to ask the user the following:
How many people?
Read the names?
Ask is the person a student? Read the student ID
if the person is a student, you have to ask : is the person undergraduate student or not? if yes, read the level.
Print out your final people array.
Submit all the modified files
PolymorphismDemo.javaDownload PolymorphismDemo.java
UndergraduateDemo.java Download UndergraduateDemo.java
Undergraduate.java Download Undergraduate.java
Personjava Download Personjava
Studentjava Download Studentjava
also what do i do in the undergraduate class? i need that class too to be done
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
