Question: Write an abstract superclass encapsulating a college applicant: A college applicant has two attributes: the applicants name and the college the applicant is applying to.

Write an abstract superclass encapsulating a college applicant: A college applicant has two attributes: the applicants 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.

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!