Multiple Choice
Which of the following statements is false?
A) You must create methods onCreateOptionsMenu and onOptionsItem-Selected when you use Android Studio’s Blank Activity template.
B) Activity’s Resources object (returned by inherited method getResources-) can obtain a Configuration object (returned by method getConfiguration) that represents the device’s current configuration.
C) Inherited Activity method getMenuInflater returns a MenuInflater on which you can call inflate with two arguments—the resource ID of the menu resource that populates the menu and the Menu object in which the menu items will be placed.
D) Returning true from onCreateOptionsMenu indicates that the menu should be displayed.
Correct Answer:

Verified
Correct Answer:
Verified
Q25: By default, the IDE set the layout’s
Q26: Which of the following statements about a
Q27: If the system cannot find an activity
Q28: Which of the following statements is false?<br>A)
Q29: You can use the ViewAnimationUtils class to
Q31: Which of the following is false?<br>A) Animator
Q32: You can use a(n) _ object to
Q33: When the user selects a menu item,
Q34: Which of the following statements is false?<br>A)
Q35: Which of the following statements is false?<br>A)