JAVA ASSIGNMENT
Part 1:
Inside a project named <lastname>2a (for example,avitabile2a), do the following:
Create an abstract class called Customer. This class should haveproperties of name and email, a constructor that assigns values toname and email, a getName() method, a getEmail() method, and anabstract method named customerInfo(). Create two classes namedBusinessCustomer and HomeCustomer that contain constructors andalso contain a customerInfo() method. The customerInfo() methodshould output the name, the email, and the kind of user.
Write a program named <lastname>2a.java (for example,avitabile2a.java) that creates a TreeSet; adds BusinessCustomersand HomeCustomers to it, and outputs the values sorted by theemails.
Make sure that your Customerr class implements the
PayPal Gateway not configured
PayPal Gateway not configured