Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Bank account service and Review Data type class, Inheritance and Polymorphism in JAVA PART1-Requi Create a project named FA2018 LAB2PART1 yourLastName Then add a data

Bank account service and Review Data type class, Inheritance and Polymorphism in JAVA

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

PART1-Requi Create a project named FA2018 LAB2PART1 yourLastName Then add a data type class named Account yourLastName and a driver class named BankService yourLastName DATA TYPE CLASS: Provide UML and the code of data type class Account yourLastName to hold the information of an account with account number (String), customer name (String), address, balance (double) with no-argument constructor parameter constructor LAB 1 Also, define some methods to handle the tasks: open account, check current balance, deposit, withdraw, and print monthly statement OPEN ACCOUNT display the output: (for example with accout last name is Le, accout first name is Liem, account number is 1567794657, and balance is 500) Account Name: Account Number New Account balance: Le, Liem 1567794657 500.0 CHECK BALANCE Display the output as belows: (for example current balance is 500) Account Name: Account Number: Current Balance: Le, Liem 1567794657 500.0 DEPOSIT Calculate the new balnce then display output (if deposit amount is 200) Account Name: Account Number: Deposit amount: New Balance: Le, Liem 1567794657 200.0 00.0 WITHDRAW Calculate new balance then display the message (for example withdraw amount is 300) Account Name: Account Number: Withdraw amount: Le, Liem 1567794657 300.0

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_2

Step: 3

blur-text-image_3

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

Database Programming With Visual Basic .NET

Authors: Carsten Thomsen

2nd Edition

1590590325, 978-1590590324

More Books

Students also viewed these Databases questions

Question

Were the right people involved in the decision-making process?

Answered: 1 week ago

Question

Were they made on a timely basis?

Answered: 1 week ago