1. Home
  2. Computer Science MCQs
  3. Mobile Computing
  4. Which lifecycle method is called when an Android activity…

Added 2 Nov 2026

Which lifecycle method is called when an Android activity is first created?

  1. onResume()
  2. onRestart()
  3. onStart()
  4. onCreate() Correct answer

Correct answer

D. onCreate()

16 views

MCQSEXAM

Explanation

onCreate() runs once when the activity is created, so it is where the layout is set and views are initialised. onStart() and onResume() follow as the activity becomes visible and interactive.

Reference

Asked in: NTS, PPSC, Android Interviews

Preparing for an exam?

Doubts & discussion

Not sure why the answer is D? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Mobile Computing MCQs

Practise all Mobile Computing MCQs

Similar MCQs