AND-401 Exam QuestionsBrowse all questions from this exam

AND-401 Exam - Question 3


During an Activity life-cycle, what is the first callback method invoked by the system?

Show Answer
Correct Answer: C

The first callback method invoked by the system during an Activity's lifecycle is onCreate(). This is where the activity is first created. In this method, the activity does all the initialization needed, such as setting up the user interface and setting up any necessary data structures.

Discussion

1 comment
Sign in to comment
MmadiOption: C
Dec 31, 2022

C. onCreate()