Given:
and:
Which code, when inserted on line 10, prints the number of unique localities from the roster list?
Which method throws an exception for not-a-number and infinite input values?
A)
B)
C)
D)
Given:
Examine these requirements:
Eliminate code duplication.
Keep constant the number of methods other classes may implement from this interface.
Which method can be added to meet these requirements?