Write an abstract superclass encapsulating a college applicant:
A college applicant has two attributes: the applicant’s name and the college the applicant is applying to.
This class has two non-abstract subclasses: one encapsulating an applicant for undergraduate school, and the other encapsulating an applicant for graduate school.
An applicant for undergraduate school has two attributes: a SAT score and a GPA. An applicant for graduate school has one additional attribute: the college of origin.
It also has a method that returns "from inside" if the college of origin is the same as the college applied to; otherwise, it returns "from outside".
You also need to include a class to test two classes.Java please.
Answers
Answer 1
Answer:
The code snippet file is attached. There are four files: