Hint for the assignment
go to java bank application question click here
Java console bank application demo
1) Create Customer class with the following methods.
private String custName = null;
private int ACC_NO = 0;
private Hashtable accountInfo = new Hashtable(); - Key can be one of SB_ACCOUNT or CURR_ACCOUNT defined
void depositeAmount(int ACC_TYPE, int amount) - Deposite amount into the corresponding account type.
void setCustomerName (String name) - Set the customer name
String getCustomerName () - Get the customer name
int getAccountNumber() - Get the account number
void setAccountNumber(int accno) - Set the account number
2) Create BankApplication class with the following methods.
private Hashtable customerInfo = new Hashtable() - Add new customer by taking his name as key and object
reference as value
addNewCustomer(Customer cust) - Add new customer to the bank application.
public void depositeAmount(String name, int ACC_TYPE, int amount) - Add amount to the corresponding customer's
account
3) Create a controlling class named BankingOperation with main method and accordingly instantiate objects of above classes.
This class should be outside the above package.
go for solution for solution click here
maven setting up eclipse and on windows errors and using it errors
-
maven is kind of project management tool and that you will find everywhere
if you use eclipse generally you can keep the jars in classpath but using
maven-...
No comments:
Post a Comment