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)- A19% (10)
- B4% (2)
- C70% (38)
- D7% (4)
Community Discussion
No community discussion yet for this question.