Given:

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

It is required that if p instanceof Pairthen p.isValid()returns true.
Which is the smallest set of visibility changes to insure this requirement is met?
Correct Answer: D