Possible Duplicate:
When do you use Java's @Override annotation and why?
Newbie question - I'm writing my first Android app (its my 2nd Java app). I noticed that in examples the onCreate()
method has the @Override
annotation, but I haven't used that annotation and it seems to work fine.
Is it just good practice to use the @Override
annotation or am I setting myself up for problems. What about the other inherited methods - onPause
etc?