Question: write java code 1. Create a separnte Java file and a class eatled as bank neeount 2. Create vartible for the Class tanke Aceount such
1. Create a separnte Java file and a class eatled as bank neeount 2. Create vartible for the Class tanke Aceount such as a. acevunt number b. balance c. eustomer name d. emall" e. Phone number 3. Create getters and setters for each field 4. Create two additional methods a. To allow eustomers to deposit funds(his should increment the previous balance field and display the updated balance for that Customer) b. To allow the customer to withdraw funds. This should deduet from the balance field, but not allow the withdrawal to complete if insufticient funds exist. (It should display the output after a successful withdrawal and updated balance) 5. You will want to create various code in the Main class to confinm that your code is worting. 6. There should be a display function that will display the customer balance and last updated balance. 1. Pranctions: 2. Iow inetwetor will previde you a bik to splead your work 3. Use Nutl Constructor and overloeded consinuctor
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
