I have a question about Androids onCreate method. I understand that the Activity is extended and that onCreate()
is implemented as android developers guide states (Class Overview at http://developer.android.com/reference/android/app/Activity.html). But why do we use @Override
? And also if i want to refer to that method what word should i use? Should i say that onCreate() is Overrided
or that onCreate() is implemented
?
public class MainActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
}