How To Write A Banking System In Java?

2 Answers

Anonymous Profile
Anonymous answered
Please submit the coding in java for banking system
Anonymous Profile
Anonymous answered
Import java.rmi.Remote;
import java.rmi.RemoteException;

public interface Account extends Remote {
  // Add method to return master BankManager
  public BankManager getBankManager()
  throws RemoteException;

  // Add method to return Client of this account
  public Client getClient()
  throws RemoteException;

  // Add method to return balance of this account
  public long getBalance()
  throws RemoteException;

  // Add method to withdraw cash from this account
  public long getCash (long amount)
  throws NoCashAvailableException, RemoteException;
}

Answer Question

Anonymous