Multiple Choice
Which of the following applies a context menu on a ListView (Choose two) ?
A) ListView lv = getListView() ; lv.registerForContextMenu()
B) registerForContextMenu(lv) ;
C) ListView lv = (ListView) findViewByld(R.id.list_view_id) ; registerForContextMenu(lv)
D) getListView() .setContextMenuEnabled(true)
Correct Answer:

Verified
Correct Answer:
Verified
Q127: Which of the following Activity life-cycle methods
Q128: Which of the following is used to
Q129: AppCompayActivity is the base class for activities
Q130: Which of the following options are correct
Q131: Which of the following statements is true
Q133: Which of the following is incorrect about
Q134: Which of the following is not an
Q135: How many constraint handles are available to
Q136: Which of the following does not have
Q137: Which of the following is NOT true