Advertisement
akosiraff

ClientClass

Mar 21st, 2016
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1.  
  2. Download: http://solutionzip.com/downloads/clientclass/
  3. 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.
  4. Download: http://solutionzip.com/downloads/clientclass/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement