1. Returns the associated object
  2. Gets the user data
  3. Returns the user data
  4. None of the mentioned
9 views

1 Answers

Answer: Option 1

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.

9 views

Related Questions