Package Banking

Examples of Banking.Bank.payInterest()


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

        System.out.print(currentAccount.balance());

        //        currentAccount.deposit(100);
//        System.out.println("yeeeee: " + 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.