nerdexam
Android

AND-401 · Question #124

Which of the following is NOT true about method getWindow() of class Dialog do?

The correct answer is C. It displays the dialog on the screen. See the full explanation below for the reasoning.

Question

Which of the following is NOT true about method getWindow() of class Dialog do?

Options

  • AIt retrieves the current window for the activity.
  • BIt can be used to access parts of the Windows API.
  • CIt displays the dialog on the screen.
  • DIt returns null if the activity is not visual.

How the community answered

(54 responses)
  • A
    19% (10)
  • B
    4% (2)
  • C
    70% (38)
  • D
    7% (4)

Community Discussion

No community discussion yet for this question.

Full AND-401 Practice