Android AND-401 - Android Application Development Exam

Question #11 (Topic: )
What method you should override to use Android menu system?
A. onCreateOptionsMenu() B. onCreateMenu() C. onMenuCreated() D. onMenuCreated()
Answer: A
Question #12 (Topic: )
Which method is used to close an activity?
A. Destroy() B. Finish() C. Stop() D. Close()
Answer: B
Question #13 (Topic: )
Which of the following is the base class of all UI components?
A. ListView B. Layout C. View D. ViewGroup
Answer: C
Question #14 (Topic: )
Which of the following is a correct Android Manifest statement?
A. <uses-permission android:name =”android.Internet”/> B. <uses-permission android:name =”android.Internet”></uses-permission> C. <uses-permission android:name =”android.permission.Internet”> D. <uses-permission android:name =”android.permission.Internet”/>
Answer: D
Question #15 (Topic: )
Which of the following best explains the Android context menus?
A. It is a popup menu displays a list of items in a vertical list that's anchored to the view that invoked the menu. B. It is a floating menu that appears when the user performs a long-click on an element. It provides actions that affect the selected content or context frame. C. It is the primary collection of menu items for an activity. It's where you should place actions that have a global impact on the app, such as "Search," "Compose email," and "Settings". D. It is a sub-menu of an options menu item.
Answer: B
Download Exam
Page: 3 / 26
Total 129 questions