Android
AND-401 · Question #5
Which of the following is a call-back method that inflates an options menu from file res/menu/menu.xml?
The correct answer is D. onCreateOptionsMenu. See the full explanation below for the reasoning.
Question
Which of the following is a call-back method that inflates an options menu from file res/menu/menu.xml?
Options
- AonOptionsItemSelected
- BonCreate
- ConCreateMenu
- DonCreateOptionsMenu
How the community answered
(37 responses)- A3% (1)
- B19% (7)
- C8% (3)
- D70% (26)
Community Discussion
No community discussion yet for this question.