Question: please do this project in Java. this project should have 4 classes and 1 tester class. Class-1 a class Bank that has a vector of
please do this project in Java. this project should have 4 classes and 1 tester class.
Class-1 a class Bank that has a vector of bankAccounts and a set of methods to //manipulate those accounts. //createAccount(), removeAccount(), showAccount() //lisrt all accounts //find an account, modifyAccount() (can modify everything except the account number) public class Bank { } CLASS-2 //design a class BankAccount that has the following properties: //an array of maximum 5 owners (Persons) //the number of holders (At the beginning there is only one holder, subsequent //holders are added via a method addHolder()) //AccountNumber (generate account numbers sequentially, use a static variable) //balance, interest rate, //Date the account was opened, date interest was payed(initially same as open date). //Methods: Deposit(), Withdraw(), payInterest(), toString(), addholder(), removeOwner() public class BankAccount { } Class-3
public class Date { } Class-4
//design a class Person that has the following properties: //DoB date of birth of the person, use the class Date // first name, last name, address, SSN. //getters and setters, constructors of your choice, just make your class flexible. public class Person { } Tester class
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
