Given: (Exhibit) It is required that if p instanceof Pair then p.isValid() returns true. Which is the

By | January 1, 2023

Given:

It is required that if p instanceof Pair then p.isValid() returns true.
Which is the smallest set of visibility changes to insure this requirement is met?

Correct Answer: B