Multiple choice technology platforms and products

The following method takes you to the root of the View Tree

  1. getParent()

  2. getRoot()

  3. getRootView()

  4. None of above

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

getRootView() returns the root of the view hierarchy. getParent() only returns the immediate parent (one level up), and getRoot() is not a standard View method. The claimed answer C is correct.