![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Implement NumberCollection
, a subclass of the OrderedCollection
class. Define include:
for the NumberCollection
class such that
the argument is added to the class instance only if the argument is a number;
otherwise, include:
is to ignore the argument. Use the isNumber
predicate.