nerdexam
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)
  • A
    3% (1)
  • B
    19% (7)
  • C
    8% (3)
  • D
    70% (26)

Community Discussion

No community discussion yet for this question.

Full AND-401 Practice