InterviewSolution
Saved Bookmarks
| 1. |
What is the purpose of the method getUserData(key)?(a) Returns the associated object(b) Gets the user data(c) Returns the user data(d) Gets the user key |
|
Answer» Right choice is (a) Returns the associated object The best explanation: The method getUserData(key) returns the object associated to a key on a this node. The object must first have been set to this node by calling setUserData with the same key. |
|