Package Banking

Examples of Banking.CurrentAccount.deposit()


        CurrentAccount currentAccount = bank.createCurrentAccount(accNum, 123);
       
        int i = currentAccount.loanLimit();
        System.out.println("loanlimit: " + i);
        System.out.print(currentAccount.accountNumber());
        currentAccount.deposit(100);
       
        bank.payInterest();

        System.out.print(currentAccount.balance());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.