Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider the following domain model for a simple banking system: Fundamentally, the system works like this: Each Transaction object is assoclated with a Bank. A
Consider the following domain model for a simple banking system:
Fundamentally, the system works like this:
Each Transaction object is assoclated with a Bank.
A Bank has a Long to Account map of client account numbers to Account objects.
Each Account has an Accountholder, an account number, a pin number, and a balance.
The AccountHolder class is abstract so it's implemented by the Person and company classes.
The Account class is abstract so it's implemented by the CommerialAccount and ConsumerAccount classes. A ConsumerAccounthas a single Personas the owner, but a Commercialaccoumt has a company as its owner and maintains a listat Person objects that are authorized users on the Account.
complete the implementation so that the project passes all the unit tests.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started