Question: Please Help!!! Thanks in advance Student -name: String -id: int -gradYear int Student(String name, int id, int gradYear) +toString0: String Graduate Student GRAD LEVEL: String
Student -name: String -id: int -gradYear int Student(String name, int id, int gradYear) +toString0: String Graduate Student GRAD LEVEL: String isTA: boolean Graduate Student(String name, int id, int gradYear, boolean isTA) +toString0: String Undergraduate Student GRAD LEVEL: String Undergraduate _Student(String name, int id, int grad Year) +toString0: String note (D)GRAD_LEVEL is a constant and the value is Graduate (2) toString) should return name, id, gradYear, isTA and GRAD LEVE note (1) GRAD_LEVEL is a constant and the (2) toString0 should return name, id, value is Undergraduate gradYear and GRAD LEVEL 1. Based on the UML above, define Student class, Undergraduate_ Student and Graduate Student 2. Write a test program that does the following steps in order(40%) 11] Declare a Student Object array to store two undergraduate student objects and one graduate student object: (Hard code the students' information in java source code which means no input from keyboard.) 121 Print all students' information from the Student Object array
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
