Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

** JAVA ** Please help with my inheritance & interfaces homework. A text file must be read by the program which will allow the user

** JAVA **

Please help with my inheritance & interfaces homework. A text file must be read by the program which will allow the user to create a new bank account, see their bank account number, view the balance in their checking and/or savings accounts and allow them to transfer money either into their account or to an account belonging to someone else.

I will rate you well if the code works and meets the requirements below.

I will create a text file with input formatted like below:

image text in transcribed

The code will have different classes which allow the text file to be read and output it exactly as shown below:

image text in transcribed

I am attaching a UML diagram to serve as a guidance:

image text in transcribed

Input The program will take as input a file formatted as follows: Tony Stark,3500,2500 Bruce Wayne,1500,20000 Clark Kent,4500,30 Tony Stark,Bruce Wayne,200 Clark Kent-checking,Clark Kent-savings,200 For the first 3 lines, the first entry in each line is the Full name of the account holder. The other 2 entries are the amounts to be deposited in the checking and savings account respectively at the time of opening the account. The last 2 lines hold transactions. The first name is person who is paying, the second name is the person who is receiving and the number is the amount. If money is being transferred between what account the money is being transferred. Input The program will take as input a file formatted as follows: Tony Stark,3500,2500 Bruce Wayne,1500,20000 Clark Kent,4500,30 Tony Stark,Bruce Wayne,200 Clark Kent-checking,Clark Kent-savings,200 For the first 3 lines, the first entry in each line is the Full name of the account holder. The other 2 entries are the amounts to be deposited in the checking and savings account respectively at the time of opening the account. The last 2 lines hold transactions. The first name is person who is paying, the second name is the person who is receiving and the number is the amount. If money is being transferred between what account the money is being transferred

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Students also viewed these Databases questions