Question: Please use JAVA coding style! You don't have to write, it can be typed. Thank you in advanced! (1) Design a class named Account that

Please use JAVA coding style! You don't have to write, it can be typed. Thank you in advanced! Please use JAVA coding style! You don't have to write, itcan be typed. Thank you in advanced! (1) Design a class named

(1) Design a class named Account that contains: - private int data field named id for the account (default ) - private double data fiell named balance for the account - private double fiell named annual Interest Rate that stores the current interest rate (default ) Assume all accounts have same interest rate - private Date field named dateCreated that stores the date when the account was created. c default constructor that creates a defaultaccount - constructor that creates an account with the specified id \& initial balance. - Accessor \& mutator methods for id, balance, $ annual Interest Rate - Accessor method for dateCreated - method named get Monthly Interestrate() that returns the monthly interest rate - method named getMonthly Interest() that return: the monthly interest - method named withdraw that withdraws a specified amount from the account - method named deposit that deposits a specified C mount to the account - Write a test demo program that creates an Account object with an ID of 1122, a balance of $20,000.00, an annual interest rate of 4.5% - Use the withdraw method to withdrow \$2,500, \$use the deposit method to deposit $3,000,00,& print the balance, the monthly interest, \& the date when this account was created

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!