Question: I need this in java Part 1 Design a class named Account that contains: . A private String data field named FirstName for the account.




I need this in java
Part 1 Design a class named Account that contains: . A private String data field named FirstName for the account. .A private String data field named LastName for the account. .A private int data field named id for the account A private double data field named balance for the account. .A private double data field named monthlyInterestRate that stores the current interest rate (default 4.5). Assume all accounts have the same interest rate. .A private Date data field named dateCreated that stores the date when the account was created. . A method named get MonthlylnterestO that returns the monthly interest. A method named withdraw that withdraws a specified amount from the account. Note: You need to check if the specified amount is less than or equal to the balance. You cannot withdraw more than what you have in your account . CREENS 1-3 OF 5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
