ContactDetails are immutable objects—that is, they have no mutator methods. How important is this fact to the internal consistency of an AddressBook? Suppose the ContactDetails class had a setPhone method, for instance? Can you devise some tests to illustrate the problems this could cause?
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.