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:
Verified
Related Questions
Q36: Consider the following class: Q37: Which of the following are not allowed Q38: Consider the following code snippet. Q39: If you have multiple classes in your Unlock this Answer For Free Now! View this answer and more for free by performing one of the following actions Scan the QR code to install the App and get 2 free unlocks Unlock quizzes for free by uploading documents