Answered You can hire a professional tutor to get the answer.

QUESTION

Design a class named Accountwhich has the following: A private int data field named id for the account (default 0). A String for First nameand...

Design a class named Accountwhich has the following:•

A private int data field named id for the account (default 0).

•A String for First nameand another String for last name.

•A private double data field named balance for the account (default 0).

•A private double data field named annualInterestRate that stores the currentinterest rate (default 0). Assume all accounts have the same interest rate.

•A private Date data field named dateCreated that stores the date when theaccount was created

.•A no-arg constructor that creates a default account.

•A constructor that creates an account with the specified id and initial balance.

•The accessor and mutator methods for id, balance, and annualInterestRate

.•The accessor method for dateCreated

.•A method named getMonthlyInterestRate() that returns the monthlyinterest rate.

•A method named getMonthlyInterest() that returns the monthly interest

.•A method named withdraw that withdraws a specified amount from theaccount

.•A method named deposit that deposits a specified amount to the account.Create an Array of Objects for 10 Accounts with initial balance $100. All the objects should be serialized properly and written on to the file account.datJAC -444Winter 2019Your program shouldde-serializeall the objects then to show all accounts with their numbers and balances, and account holders first and last names.

Now create a GUI for an ATM which is going to use the Account class we created in Part A.

we canupdate our class with another field,•Private intpin.(which will hold the pinfor each account)

•Your program should check against each Account numberfor the pin, if the pin is not assigned then ask your ATM should give a welcome message to register your account. Then assign a pin number (should be only numbers).

•Ifyour account is registered,then ATM should check the pin verifyit and display the next screen

.•Main menu of your ATM consistsof Check BalanceWithdraw MoneyDeposit MoneyExit the account (which will display again the main Menuof the ATM)

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question