Question: can u give atleast relavent java code 5 Bank X has decided to collect and store the customer details. They are interested in developing a

 can u give atleast relavent java code 5 Bank X has

decided to collect and store the customer details. They are interested in

can u give atleast relavent java code

5 Bank X has decided to collect and store the customer details. They are interested in developing a graphical user interface for the transaction purpose. Assume that you are the programming expert, so that they are requesting your service to develop a swing-based java application to store and manipulate the customer details using the following specifications: Create an interface named as "Bank" with the following methods: deposit(double); wthdrawal(double); checkBalance(); I Create a class "Customer" which implements the above interface along with data members such as customerName, accountNumber (unique for a customer), balance. Create another class called "BankDemo". In this class create an ArrayList to store the objects of Customer class. Create methods to perform the following activities: - add_customer() - this method should receive a customer class object and insert it into array list. - deposito - have to reflect the balance by adding the deposit amount withdrawalo- have to reflect the balance by subtracting the withdrawal amount - checkBalance - - this method should accept a AccountNumber and returns the corresponding customer balance. Note: (initialize the arraylist with 5 records). Create a frame window with 3 text field to accept the input values for customerName, account Number and amount along with 1 textarea component to display the customer details. Create five buttons namely Add Customer", "Deposit", "Withdrawal, and Check Balance" and Display. Add button - is used to read the information from the GUI and pass this information to array list. Deposit button get the deposit amount from the "amount" textfield and perform the deposit operation. If the deposit amount is invalid (i.e.,

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!