how could it be BEST enforced in the system?

If there is a business rule that there must be at least one Person associated with every Account,
how could it be BEST enforced in the system?

If there is a business rule that there must be at least one Person associated with every Account,
how could it be BEST enforced in the system?

A.
Write a test case based on the use case requirement.

B.
Draw an association between Account and Person on the class diagram.

C.
When any method in a client class creates an Account, have the line immediately following the
creation set its Person attribute.

D.
Write the object creation code in the Account class so that it is not possible to create an
Account object without its required association with Person in place.



Leave a Reply 0

Your email address will not be published. Required fields are marked *