Question: CIST 2 3 7 3 - Java III Lab : # 5 - 5 0 Points [ More Business Objects ] Part I - Now
CIST Java III
Lab : # Points
More Business Objects
Part I Now build an Accomathist Business Class. This class will have a
list of Account Objects. You can use an Array or an ArrayList to store this
list. I would also have a count property to keep track of how many Accounts
are in the list. Methods should include a display method, and an
addAccount al method.
Part II Now add a new Property to the Customer class.
Accountlist alist;
Make it so that when an User calls the selectiDB methodand passes a
custio the Customer class will go look in the database for all accounts that
belong to this customer and put them in the use the aList object. So the
Customer class will contain a list of Accounts that the customer owns.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
