public class Testbank {
public static void main(String[] args)
{
BankAccount bank = new BankAccount("Asif", "18101073", 10000);
bank.withdraw(500);
System.out.printf("Balance : %.2f\n", bank.getBalance());
bank.deposit(500);
bank.display();
}
}
public static void main(String[] args)
{
BankAccount bank = new BankAccount("Asif", "18101073", 10000);
bank.withdraw(500);
System.out.printf("Balance : %.2f\n", bank.getBalance());
bank.deposit(500);
bank.display();
}
}
Comments
Post a Comment