Question: If a class implements a standard API interface that specifies more than one method but does not need many of the methods, this should be
If a class implements a standard API interface that specifies more than one method but does not need many of the methods, this should be used instead of the interface.
a. Your own detailed versions of the needed methods
b. An adapter class
c. A different interface
d. There is no other choice
Step by Step Solution
3.35 Rating (164 Votes )
There are 3 Steps involved in it
b An adapter class An adapter class is a class that is used to adap... View full answer
Get step-by-step solutions from verified subject matter experts
