Count links rather than objects

A contact-management application implements the association below using one private Contact[] array in each Directory. There are seven directory objects. Every array contains exactly three non-null references to distinct contacts within that directory. Different directories may share contact objects.


Directory navigates to Contact with multiplicity three at Contact and zero-to-many at Directory.


How many contact-reference entries are stored across the seven arrays? Count entries in these arrays only. Give an exact whole number of entries, to zero decimal places.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Implementing Class Diagrams in Java Questions: