Create Java program Part one. Create a class called a BankSystem. Then, create the following instance variables, account_No, customer_Name, balance. create a method called openAccount has a no return type(void) that ask the user to enter enter a positive account number , name and balance. Then,create a method called AccountInfo to display the account details.     Part two 1- create a method called depositMoney that ask the user to enter the amount to deposite. 2- create a method called withdrawMoney that ask the user to enter the amount to withdraw. 3- create a method called transferMoney that ask the user to enter the amount to transfer. 4- create a method called checktransfer boolean that return true or false. 5- create a method called checkBalance to chelck the account balance.

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter11: Advanced Inheritance Concepts
Section: Chapter Questions
Problem 13RQ
icon
Related questions
Question

Create Java program

Part one.

Create a class called a BankSystem. Then, create the following instance variables, account_No, customer_Name, balance. create a method

called openAccount has a no return type(void) that ask the user to enter enter a positive account number , name

and balance. Then,create a method called AccountInfo to display the account details.

 

 

Part two

1- create a method called depositMoney that ask the user to enter the amount to deposite.

2- create a method called withdrawMoney that ask the user to enter the amount to withdraw.

3- create a method called transferMoney that ask the user to enter the amount to transfer.

4- create a method called checktransfer boolean that return true or false.

5- create a method called checkBalance to chelck the account balance.

Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT