Question: Using Java: Problem #2: (Vectors) Create a Class to practice with Vectors. We are going to create a Vector of Account Objects. Create a Class
Using Java:
Problem #2: (Vectors) Create a Class to practice with Vectors. We are going to create a Vector of Account Objects. Create a Class called AccVector, and store it in a file called AccVector.java. You will need to use the Account Class that you built back in Lab #2 & #3. Pull this Account class into this lab. Then build your AccVector class that will store Accounts in a Vector. In the main create and add 3 Account objects to your Vector, then print out this Vector. Make up the data for each account object that you create.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
