Solved

You Wish to Implement a Callback Method for an Object

Question 41

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents