Google News
logo
Android - Quiz(MCQ)
Which of the following is the first callback method that is invoked by the system during an activity life-cycle?
A)
onStart() method
B)
onClick() method
C)
onRestart() method
D)
onCreate() method

Correct Answer :   onCreate() method


Explanation : onCreate() method is called when activity is first created. The onCreate() and onDestroy() methods are called only once throughout the activity lifecycle.

Advertisement