nerdexam
Android

AND-401 · Question #100

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

The correct answer is B. onCreateContextMenu, onContextItemSelected. See the full explanation below for the reasoning.

Question

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

Options

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

How the community answered

(29 responses)
  • A
    7% (2)
  • B
    76% (22)
  • C
    14% (4)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full AND-401 Practice