Why call the superclass method when you override the existing method?
<p>I'm new to JAVA and OOP in general. In this very simple code, why I have to call the onCreate method from the superclass? isn't it inherited from the superclass? I know that a constructor method is not inherited to the child class and if you want to call the constructor you must invoke the superclass. Is super.onCreate a constructor call? Doesn't the constructor name must be the same with the class name ?
I know this is a silly question and thank you for your responses.</p>

<pre><code>import android.app.Activity;

public class MainActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
    }
}
</code></pre>
