A traveler wants to purchase a number of traveler''s checks, computer programming, Programming Languages

A traveler wants to purchase a number of traveler''s checks, each having a set amount for four different currencies: Mexican pesos, Euro dollars, Swiss francs, and US dollars.
A traveler wants to know the value of all traveler''s checks in US dollars. When the traveler makes a purchase, he or she withdraws a designated number of traveler''s checks of a particular type. Additionally, this transaction should be refused if there are not sufficient traveler''s checks of the type designated. The traveler can increase the number of traveler''s checks by making a deposit, but cannot change the amount of the check after it has been established.
1) Create a UML diagram for a class named Checks that contains data members and methods that meet the criteria cited in the preceding problem statement.
2) Create a class Checks that includes the following members:
• The nonstatic int data member named nurnberOfChecks to keep track of the number of traveler''s checks available.
• The nonstatic int data member named faceAmount to keep track of the face value of the traveler''s checks available.

3) Create and use JUnit test set to test class Checks.
Posted Date: 3/10/2012 8:18:54 PM | Location : United States







Related Discussions:- A traveler wants to purchase a number of traveler''s checks, computer programming, Assignment Help, Ask Question on A traveler wants to purchase a number of traveler''s checks, computer programming, Get Answer, Expert's Help, A traveler wants to purchase a number of traveler''s checks, computer programming Discussions

Write discussion on A traveler wants to purchase a number of traveler''s checks, computer programming
Your posts are moderated
Related Questions
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

How to create an ER diagram?

Write 3 somewhat simple scripts / programs in any language, combination of languages, and/or software. Please tell me the task you are trying to accomplish in the scripts. Idea

Task: This assignment is about writing programmes and Web Services in C#: 1) Develop a console programme that reads a sequence of integer numbers from the console and sorts

I need to finish my game project within two weeks using XNA. Would you guys can help me to finish it? Thank you

You have been employed by a bounty hunter to create hit list (yes... you better do this right). Create a Hit List program that can records the name, bounty, and difficulty for ten

code for using tree view control and fill it with database using asp.net and language vb.net

1 Problem Description The task of the assignment is to build a book recommendation system for Auer Libraries. The system is to be implemented in Prolog and as the owners of t

Question: (a) (i) Describe what an XML Data Island is and outline the restrictions of using a Data Island. (ii) The following XML file book.xml is used to keep track of a l

I need an application that will gather data from one SQL Database and update another. Data is contained in dbo.CallList with following fields: Customer_ID, AlreadyPickedUp, Phone_N