Answered step by step
Verified Expert Solution
Question
1 Approved Answer
write the program using the following conditions in the description below You must display the following menu to the user: Welcome To ATM System 1.
write the program using the following conditions in the description below
You must display the following menu to the user: Welcome To ATM System 1. Open a new account with one of the costumer types 2. Login 3. Exit from ATM System Enter Your Choice: According to customer type show all possible operations 1. Deposit 2. Withdraw 3. Balance 4. Exit to main menu Enter Your Choice: You must have the following in your program: (a) Abstract Customer contains balance, abstract withdraw method and two constructors. (b) Interface FreeDeposit AndInquiry contains void method deposit(double) and double getBalance(). (c) Interface Limited Deposit contains void method deposit(double) class (d) Class CusotmerOpenAcc: is a subclass from Customer implements the interface FreeDeposit AndInquiry. This class represents the customer that has an open account. (e) Class Cusotmer LimitedAcc: is a subclass from Customer implements the interface LimitedDeposit. This class represents the customer that has a limited account. (f) Class CusotmerStudentAcc: is a subclass from Customer. This class represents the customer that has a student account. (g) The program must provide a way for saving customer and account information and history in text file.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Here is a Java program for an ATM system with all of the conditions in the description import javaioBufferedReader import javaioBufferedWriter import ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started