QUESTION
NO: 1
What
method you should override to use Android menu system?
A.
onCreateOptionsMenu()
B.
onCreateMenu()
C.
onMenuCreated()
D.
onCreateContextMenu()
Answer:
A
Explanation:
Android
ATC Self Study Guidehttp://www.androidatc.com/pages-19/Self-Study
QUESTION
NO: 2
What
Activity method you use to retrieve a reference to an Android view by using the
id attribute of a resource XML?
A.
findViewByReference(int id);
B.
findViewById(int id)
C.
retrieveResourceById(int id)
D.
findViewById(String id)
Answer:
B
Explanation:
Android
ATC Self Study Guidehttp://www.androidatc.com/pages-19/Self-Study
QUESTION
NO: 3
Which
of the following is not an Android component (i.e. a point from which the
system can enter your application)?
A.
Service
B.
Activity
C.
Layout
D.
Content Provider
Answer:
C
QUESTION
NO: 4
During
an Activity life-cycle, what is the first callback method invoked by the
system?
A.
onStop()
B.
onStart()
C.
onCreate()
D.
onRestore()
Answer:
C
Explanation:
Android
ATC Self Study Guidehttp://www.androidatc.com/pages-19/Self-Study
QUESTION
NO: 5
Which
configuration file holds the permission to use the internet?
A.
Layout file
B.
Property file
C.
Java source file
D.
Manifest file
Answer:
D
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home