Define a class client which has attributes name

Assignment Help Basic Computer Science
Reference no: EM131014841

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.

Reference no: EM131014841

Questions Cloud

Demonstrate the class in a program : Demonstrate the class in a program that asks the user for the quantity of items being purchased, and then displays the sale's subtotal, amount of sales tax, and total
Which project has the higher equivalent annual net benefit : The company you work for is trying to decide between two projects. Project 1 costs $200,000 up front, and has an expected life of 5 years, over which it will return $40,000 each of the five years. Project 2 would last for 15 years, costs $1 million u..
Tuition financing plan : Wayne State offers a tuition financing plan where a $40,000 loan taken at the beginning of the freshman year would pay for all 4 years of college tuition. The plan calls for the loan to be repaid over a ten year period starting 5 years from the date ..
Find the distance between the two parallel planes : Find the distance between the two parallel planes : 5x + y - z = 1 and 10* + 2y - 2z = 5. You should be able to use your plan above to help with this one.
Define a class client which has attributes name : 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,
Guatemalan quetzal cross rate : Isaac Díez Peris lives in Rio de Janeiro. While attending school in Spain he meets Juan Carlos Cordero from Guatemala. Over the summer holiday Isaac decides to visit Juan Carlos in Guatemala City for a couple of weeks. What is the Brazilian real/Guat..
Photographic paper and developing materials for traditional : Kodak used to primarily produce and distribute photographic paper and developing materials for traditional (i.e., non digital) photographic methods. A sizable portion of their business was home photography. Given the assumptions listed above, what is..
How large a sample should be taken : After a brief time study on a delivery job, the data showed an average time to do the delivery job of 5.7 minutes with a standard deviation of 0.35 minutes. If we use an alpha value of 2%, and we want our final estimate to be within 0.1 minutes of..
Disease will reduce the survival rates of juveniles : Develop your program so that when the user chooses to export the data

Reviews

Write a Review

Basic Computer Science Questions & Answers

  What window events can a program handle

What is the paintComponent method? How is it used in Java graphics? How does a program intentionally cause the paintComponent method to execute?

  Define a 1-d array named people types

Define a 1-D array named people Types that can store a maximum of 50 integer values that will be entered at the keyboard.

  The information security officer at a medium-sized company

The CIO asks you to explain why you believe it is important to secure the Windows and Unix/Linux servers from known shortcomings and vulnerabilities. Explain to your CIO what you can do to make sure the network infrastructure is more secure.

  Explain radio frequency transmission characteristics

Explain radio frequency transmission characteristics

  Write a function to generate and return a 2d array

1. Write a function to generate and return a 2D array (i.e. a two dimension list) filled with underscores "_" given the number of rows and the number of columns where the number of rows does not necessarily equal the number of columns. An empty array..

  Cryptography for standardized regulated and mandated

Whose interests are most significant when finding extent to which cryptography must be standardized, regulated, and mandated?

  Professional interactive media developers

DIGIMAX Multimedia is a multimedia content development company would like to release various educational CD/DVD in the market. In this regards, the company wants to approach professional interactive media developers

  List and describe the user interface guidelines

Describe cognitive social phenomena that occur specifically to the context of the MMORPG that wouldn't happen in a face-to-face chess game.

  Software developments for developers to analyze-design

The goal of real world software developments is for developers to analyze, design, program, and test complete applications that solve the needs of the customer.

  Design and implement your own simple class to represent

Design and implement your own simple class to represent any household item of your choice (toaster, fan, hair dryer, piano ...) Your class should have a constructor, one additional method and at least one member variable

  Significant business opportunity of apple

Do you believe it was wise for Apple to only present their OS on their PC instead of offering the version of Apple OS for other manufactory's (HP, Dell, Sony, etc) PC's?

  What does environmental sustainability mean to you

What does environmental sustainability mean to you

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd