單項選擇題

關(guān)于應(yīng)用程序的生命周期,一個Activity從啟動到運行狀態(tài)需要執(zhí)行3個方法,請選擇一個正確的執(zhí)行順序。()

A.onCreate()->onStart()->onResume()
B.onStart()->onCreate()->onResume()
C.onCreate()->onResume()->onStart()
D.onStart()->onResume()->onCreate()

微信掃碼免費搜題