Question: OBJECT ORIENTED PROGRAMING CONCEPTS USING METHODS OBJECTIVE: Students will gain experience using methods and setting parameter/argument lists 1. Create a class called BankAccount_yourName save it

 OBJECT ORIENTED PROGRAMING CONCEPTS USING METHODS OBJECTIVE: Students will gain experience

OBJECT ORIENTED PROGRAMING CONCEPTS USING METHODS OBJECTIVE: Students will gain experience using methods and setting parameter/argument lists 1. Create a class called BankAccount_yourName save it as BankAccount_yourName It will be a generic simple type of BankAccount (not Checking, not Savings just BankAccount) a. 2. BankAccount will contain variables to store: the owner/owners of the account(owner is of type Person object) accountBalance it may contain other basic information (up to you) a. b. c. 3. BankAccount will contain methods that will allow you to: a. Set the account owners information (this method will create a person object) b. Deposit money (does the math to calculate the balance) C. Withdraw money (does the math to calculate the balance d. Print out transactions (think more like an atm ...each time an action is taken it gets printed) 4. BankAccount will contain its own main() a. Create one BankAccount_yourName object named richGuy Call all of the methods declared in the class Create a second object of type BankAccount_yourName and call it poorGuy User the Scanner object and its methods to allow end user keyboard input b. c. HINTS: 1. Make sure you save Person and BankAccount in the same folder. 2. Don't forget to import java.util.Scanner; . Add comments to your code 4. We will use this code for a couple of weeks and add to it

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!