Multiple choice technology platforms and products

__________ method is called when activity is first created

  1. onStart()

  2. onResume()

  3. onCreate()

  4. None of above

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

onCreate() is the first method called when an activity is created. It's where you initialize your activity, set up the UI with setContentView(), bind data, and create any objects or resources the activity will need. This method is called once per activity instance, unlike onStart() or onResume() which can be called multiple times.