Exercises - PowerPoint PPT Presentation

1 / 1
About This Presentation
Title:

Exercises

Description:

The BankAccountCustomer class that has a main method that uses the BankAccount class ... transfer $10 from checking to saving. withdraw $1000 from savings, (not ... – PowerPoint PPT presentation

Number of Views:11
Avg rating:3.0/5.0
Slides: 2
Provided by: venkateshr
Category:

less

Transcript and Presenter's Notes

Title: Exercises


1
Exercises
  • Design and implement the following
  • BankAccount class, including the body of the
    methods (no main method required)
  • The BankAccountCustomer class that has a main
    method that uses the BankAccount class
  • create a savings and a checking account with 0
    balance
  • deposit 100 to savings
  • deposit 10 to checking
  • transfer 50 from savings to checking
  • withdraw 5 from savings
  • transfer 10 from checking to saving
  • withdraw 1000 from savings, (not sufficient
    funds balance of both accounts)
  • A third class BankAccountBank with operations
    from a bank perspective
Write a Comment
User Comments (0)
About PowerShow.com