Run the application Projec14_BankAccountDemo_YourInitialjava. Snapshot your compiler window to fully show your output pane and name the image as Project4 BankAccount YourName.png. • You must make sure your both program files are in the same folder. CS140, TSU Table 1: Members of class Project4 BankAccount Project BankAccount -lowBalance: static final double -balance: double -username: String + Project4_BankAccount (usemame: String): + Project4_BankAccount (usemame: String, balance:double): +getBalance(): double + setBalance (balance: double):void + deposit (amount:double):void +withdraw lamount : double):void +displayMessage():void Sample Output Create an object with no initial balance! Set $500 to the balance! Here is account balance information for La Ma The current balance is 500.00. Withdraw $300 from account! Here is account balance information for Li Ma The current balance is 200.00. Please enter the user name Ma. La Please enter the initial balance: 392 Create an object with an initial balance! Here is account balance information for Ma Lib The current balance is 392.00. Deposit $200 to account! Here is account balance information for Ma La The current balance in 592.00. Created by Li Ma Bank username, initialized when creating the first object of the class Bankusemame and initial balance, entered by user Different Bank username, initialized when creating the second object of the class
Run the application Projec14_BankAccountDemo_YourInitialjava. Snapshot your compiler window to fully show your output pane and name the image as Project4 BankAccount YourName.png. • You must make sure your both program files are in the same folder. CS140, TSU Table 1: Members of class Project4 BankAccount Project BankAccount -lowBalance: static final double -balance: double -username: String + Project4_BankAccount (usemame: String): + Project4_BankAccount (usemame: String, balance:double): +getBalance(): double + setBalance (balance: double):void + deposit (amount:double):void +withdraw lamount : double):void +displayMessage():void Sample Output Create an object with no initial balance! Set $500 to the balance! Here is account balance information for La Ma The current balance is 500.00. Withdraw $300 from account! Here is account balance information for Li Ma The current balance is 200.00. Please enter the user name Ma. La Please enter the initial balance: 392 Create an object with an initial balance! Here is account balance information for Ma Lib The current balance is 392.00. Deposit $200 to account! Here is account balance information for Ma La The current balance in 592.00. Created by Li Ma Bank username, initialized when creating the first object of the class Bankusemame and initial balance, entered by user Different Bank username, initialized when creating the second object of the class
C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter11: Inheritance And Composition
Section: Chapter Questions
Problem 9PE
Related questions
Question
100%
Hello, I really hope you're having a great day. Can you please help me do this Java program, please remember to separate the Java application and the class definition. Thank you!
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 4 steps with 2 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage