Solved

An Overridden Method OnCreateOptionsMenu in an Activity Returns Boolean Value

Question 32

Multiple Choice

An overridden method onCreateOptionsMenu in an Activity returns boolean value. What does this value mean?


A) You must return true for the menu to be displayed; if you return false it will not be shown.
B) You must return false for the menu to be displayed; if you return true it will not be shown.
C) You can return any value: the menu will be displayed anyway.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions