Solved

You Wish to Implement a Callback Method for an Object

Question 51

Multiple Choice

You wish to implement a callback method for an object created from a library class that you cannot change.What is the preferred way to accomplish this?


A) Extend the library class.
B) Use an inner class in the interface.
C) Create a new class that mimics the library class.
D) Use a helper class that implements the callback method.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions