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 3 by 11:59pm Points 10 Submitting a file upload Available Feb 11 at 1:01pm - Mar 3 at 11:59pm
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
Person-2.java Download Person-2.java
Student-1.java Download Student-1.java
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 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!