$24
The source code for Student, CollegeStudent, and HighSchoolStudent are already provided. You will be creating a class ElementarySchoolStudent, which inherits from Student and writing the rest of the source code for main in the StudentDriver class.
Print the following menu:
Choose one of the following:
Create an Elementary School Student
Create a High School Student
Create a College Student
Print out all students
Exit
If the user decides to create a HighSchoolStudent, the user will be prompted for the appropriate information (name, age, address, high school name, counselor name, year and grade point average), and then create a HighSchoolStudent object by calling the constructor with this information:
Each object created will be put into an ArrayList.
To print out all students, call the printStudent() method for each student in the array.
ElementarySchoolStudent
Inherits from Student
Look at driver to determine what instance variables will be needed for the ElementarySchoolStudent class.
Provide a constructor that has parameters for all the information required for a ElementarySchoolStudent and a default (no-arg) constructor
Provide getters and setters
Provide a toString method
Take a screenshot of “Print out all students” after adding at least one Elementary School, High School and College student.
Upload your StudentDriver.java and your screenshot.