Define a class Client, which has attributes Name

CLICK HERE TO DOWNLOAD THIS ANSWER INSTANTLY $18 ONLY

Program 4

Define a class Client, which has attributes Name, Address, PhoneNumber which are Strings. ClientNumber an integer and amountDue a double. Write methods which allow you to accept payments from clients and lend clients money, as well as getters and setters for all attributes. Make the class Serializable. Write a main class which uses a list of type ArrayList to hold the Clients while you perform transactions on them. Your menu should allow you to add new clients, accept payments from clients using the client’s name, make loans, look up a client’s balance, remove a client, list all clients names and amount due and add up all the amountsDue from your clients. You should use a binary file to save the list when you quit and restore it when you start up again.