I believe that the arrow should be pointing towards the class ResidencyBook since the code contains references to ResidencyBook rather than the interface.
This is a major issue as it affects how the class is implemented. By pointing at the interface, the AddressBook class cannot modify the internal structure, but by pointing at ResidencyBook it can
I believe that the arrow should be pointing towards the class
ResidencyBook
since the code contains references toResidencyBook
rather than the interface.This is a major issue as it affects how the class is implemented. By pointing at the interface, the AddressBook class cannot modify the internal structure, but by pointing at
ResidencyBook
it can