Banking system software code in Java

package com.physicsinfo; import javax.swing.*; import java.util.Scanner; class account{ int amount, acc_no; String name; void display(int acct_no, String name, int bal){ System.out.println(acct_no+” “+name+” “+bal); } void deposit(int amnt){ amount = amount +amnt; System.out.println(“Deposit successful. Your new balance is: “+amount); } void withdraw(int wdr){ if (wdr>amount){ System.out.println(“Insufficient balance.”); } else { amount = amount – wdr; System.out.println(“Withdraw …

Banking system software code in Java Read More »