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?
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
More Android Game Development MCQ Questions