nerdexam
Android

AND-401 · Question #4

What two methods you have to override when implementing Android option menus?

The correct answer is C. onCreateOptionsMenu, onOptionsItemSelected. See the full explanation below for the reasoning.

Question

What two methods you have to override when implementing Android option menus?

Options

  • AonCreateOptionsMenu, onCreateContextMenu
  • BonCreateContextMenu, onContextItemSelected
  • ConCreateOptionsMenu, onOptionsItemSelected
  • DonCreateOptionsMenu, onContextItemSelected

How the community answered

(20 responses)
  • A
    5% (1)
  • B
    10% (2)
  • C
    75% (15)
  • D
    10% (2)

Community Discussion

No community discussion yet for this question.

Full AND-401 Practice