Question: Create 2 Java files: 1. Account.java - Base class definition for a bank account 2. AccountClient.java Specifications for the Account class: Specifications for the Client
Create 2 Java files: 1. Account.java - Base class definition for a bank account 2. AccountClient.java
Specifications for the Account class:


Specifications for the Client program:
The program will start with the prompt: Please create your account. Type a positive integer as account number. When the user enters a number, the account is created with a balance of zero dollar. Following prompt is displayed. Your account XXXX is created with zero balance. You can do the following operations. The menu choice is then displayed.

Required methods:

Class Name Account Instance Variables (fields) accountNumber: int ce: double Constructors + Account(int accountNumber) Instance Methods + getAccountNumber) : int + getBalance): double + credit(double amount): void + debit(double a
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
