Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Could anyone please help me to solve this java programming /*** This class repre

ID: 3613313 • Letter: C

Question

Could anyone please help me to solve this java programming
 /*** This class represents a bank account* @author:*/class Account{// Instance Variables// Money in the bank account, in dollarsprivate double balance;// Full name of the person who owns the accountprivate String owner;// Constructor/*** Creates a new Account belonging to 'name'*/public Account(String name){owner = name;balance = 0;}// Instance Methods/*** Add 'amount' dollars into the account* If amount < 0, then nothing happens*/public void deposit(double amount){if (balance >= 0)balance = balance + amount;}/*** Deduct 'amount' dollars from the account* If amount < 0, then nothing happens* If there is not enough money in the account, then nothing happens*/public void withdraw(double amount){// EXERCISE 1a: WRITE YOUR CODE HERE}public double getBalance(){return balance;}// EXERCISE 1b: WRITE YOUR METHOD HERE}
(1a) From the account class above , 
 (1b) In a different Java file, write the AccountTester class, which uses the Account class. In the main method of the AccountTester class, do the following (in this order):· Make two Account objects – each belonging to 2 different people· Add some money (a different amount) into both accounts· Withdraw some money from one account· Get the names and amount of money in each account, using the accessor methods,and store these values into new variables that are declared in the main method· For each account, use the above variables to print out onto the screen the owner’sname and the amount of money in the account. Your output should look  something like this:Jason has $10.0


 /*** This class represents a bank account* @author:*/class Account{// Instance Variables// Money in the bank account, in dollarsprivate double balance;// Full name of the person who owns the accountprivate String owner;// Constructor/*** Creates a new Account belonging to 'name'*/public Account(String name){owner = name;balance = 0;}// Instance Methods/*** Add 'amount' dollars into the account* If amount < 0, then nothing happens*/public void deposit(double amount){if (balance >= 0)balance = balance + amount;}/*** Deduct 'amount' dollars from the account* If amount < 0, then nothing happens* If there is not enough money in the account, then nothing happens*/public void withdraw(double amount){// EXERCISE 1a: WRITE YOUR CODE HERE}public double getBalance(){return balance;}// EXERCISE 1b: WRITE YOUR METHOD HERE}
(1a) From the account class above , 
 (1b) In a different Java file, write the AccountTester class, which uses the Account class. In the main method of the AccountTester class, do the following (in this order):· Make two Account objects – each belonging to 2 different people· Add some money (a different amount) into both accounts· Withdraw some money from one account· Get the names and amount of money in each account, using the accessor methods,and store these values into new variables that are declared in the main method· For each account, use the above variables to print out onto the screen the owner’sname and the amount of money in the account. Your output should look  something like this:Jason has $10.0

Explanation / Answer

please rate -thanks message me any problems or questions there was no accessor to get the owner name-I added one AccountTester.java import java.util.*; class AccountTester{ public static void main(String[] args) {Account a=new Account("John J"); Account b=new Account("Mary M"); String name; double balance; a.deposit(50.75); b.deposit(75.20); a.withdraw(60); balance=a.getBalance(); name=a.getName(); System.out.println(name+" has $"+balance); balance=b.getBalance(); name=b.getName(); System.out.println(name+" has $"+balance); } } Account.java /** * This class represents a bank account * @author: */ class Account { // Instance Variables // Money in the bank account, in dollars private double balance; // Full name of the person who owns the account private String owner; // Constructor /** * Creates a new Account belonging to 'name' */ public Account(String name) { owner = name; balance = 0; } // Instance Methods /** * Add 'amount' dollars into the account * If amount < 0, then nothing happens */ public void deposit(double amount) { if (balance >= 0) balance = balance + amount; } /** * Deduct 'amount' dollars from the account * If amount < 0, then nothing happens * If there is not enough money in the account, then nothinghappens */ public void withdraw(double amount) { // EXERCISE 1a: WRITE YOUR CODE HERE if(amount