Android Application Development (AND-401) — Question 3
During an Activity life-cycle, what is the first callback method invoked by the system?
Answer options
- A. onStop()
- B. onStart()
- C. onCreate()
- D. onRestore()
Correct answer: C
Explanation
The correct answer is C, as onCreate() is the first method called when an Activity is created. The other options, onStart(), onStop(), and onRestore(), are invoked at different stages in the Activity lifecycle, but not at the very beginning.