PrepAway - Latest Free Exam Questions & Answers

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?

PrepAway - Latest Free Exam Questions & Answers

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