MCQs > IT & Programming > Android Game Development > Examine the code given below: public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.activity_main, menu); return true; } Which of the following classes need(s) to be imported in order for this function to work properly?

Android Game Development MCQs

Examine the code given below:

public boolean onCreateOptionsMenu(Menu menu) {

// Inflate the menu; this adds items to the action bar if it is present.

getMenuInflater().inflate(R.menu.activity_main, menu);

return true;

}

Which of the following classes need(s) to be imported in order for this function to work properly?


Answer

Correct Answer:

Android.view.Menu

Explanation:

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

Android Game Development Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Android Game Development Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it