The deletePerson should take in a Person object instead of an index. However, the sequence diagram below shows an index "1" being passed into the deletePerson method.
This contradicts the below image, where a Person p is passed into the deletePerson method.
The deletePerson should take in a Person object instead of an index. However, the sequence diagram below shows an index "1" being passed into the deletePerson method.
This contradicts the below image, where a Person p is passed into the deletePerson method.