Which of the following are true about enabling/disabling menu items from an Activity class?

Question:Which of the following are true about enabling/disabling menu items from an Activity class?

1.onCreateOptionsMenu can be used to enable/disable some menu items in an Android application.

2.onPrepareOptionsMenu can be used to enable/disable some menu items in an Android application.

3.onShowOptionsMenu can be used to enable/disable some menu items in an Android application.

4.The menu items in an Android application cannot be disabled.


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!