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
Multithreaded Calculator In this Lab, you will be implementing a simple multithreaded calculator. Our calculator will accept expressions as infix notation text strings consist

We are looking for Pool Services Software Our company Pool Hands LLC is looking to build software for our internal use. We would like the software built therefore that it could

Question 1 What is CISC & RISC? Explain their addressing modes Question 2 Discuss the following- Design Specification of Assembler Design of Single Pass Assembler

Write a program to check whether a car will crash. There is an obstacle at a certain distance (say 100 m) and the car is travelling at a certain speed (try it with some different s

Name : Jaya Malathy IC No : 99011460923 Quiz 1 : 20.5 Quiz 2 : 22.5 Quiz 3 40.5 Total marks = 83.5 Name IC No Quiz1 Quiz2 Quiz3 Grade --- ---- ---- ---- ---- ---- Jaya 990

Add macros to MS word 2010 according to A PARTICULAR FORMAT

how do i make a bomber game using pascal on a software called lazuras

In this assignment you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application. You

How to create an ER diagram?

You will be working on creating both a realistic project environment and on adding new features to a simple shell implementation provided in shell.tar.z. After you un-tar it, let's