This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: + SavingAccount (p:SavingAccount) +BankCharge:double CurrentAccount CurrentAccount (Cids:int,Cname:String) + CurrentAccount (p: CurrentAccount) +bankCharge:double King Saud University College of Computer and Information Systems, Department of Computer Science CSC 113: Java Programming-II, Spring2011, February 21, 2011 Tutorial #7 : Interface and Abstract classes Write a Java Program to implement the class Bank, Savingaccount and CurrentAccount and main class. Calculation: Saving Account: If the account balance is less than 300 than less 5% every month from the account Current Account: The minimum amount is 500, if the balance is 500 than give a message u don’t have sufficient balance in your account to withdraw. Write a main class to show the calculation by calling the methods of Classes....
View Full Document
This note was uploaded on 08/18/2011 for the course COMPUTER S CSC 113 taught by Professor Dr.safwanqasem during the Spring '11 term at King Saud University.
- Spring '11
- Java Programming