I am learning Java to build an android app. I see that at a lot of places, where a class is getting inherited, the over ridden methods are marked by "@Override
".
For eg:
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
}
Can some one explain, how does compiler interprets this token "@Override
". Is it a reserved word or a comment. Or is just the "@
" that does anything special like we have "//
" for commenting out.