super.onCreate(savedInstanceState);
问题 I have created an Android Application Project and in MainActivity.java > onCreate() it is calling super.onCreate(savedInstanceState) . As a beginner, can anyone explain what is the purpose of the above line? 回答1: Every Activity you make is started through a sequence of method calls. onCreate() is the first of these calls. Each and every one of your Activities extends android.app.Activity either directly or by subclassing another subclass of Activity . In Java, when you inherit from a class,