Q:

function calling istelf yet not looping

I am new to programming hence unable to figure out this simple code.
What I don't understand in the following code is onCreate() is being called by onCreate() itself, yet setContentView() ie the next statement is being executed. How is that happening?  
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);
}

thanks.

A:

It's not calling itself, it's calling super's implementation of onCreate.
See using the keyword 'super' for more regarding the use of super.

