I have been looking around on Google and StackOverFlow and I have not been able to find a good SIMPLE definition for:
@Override when it is used.
Can someone help me find a very simple definition for this?
Thanks.
I have been looking around on Google and StackOverFlow and I have not been able to find a good SIMPLE definition for:
@Override when it is used.
Can someone help me find a very simple definition for this?
Thanks.
@Override annotation informs the compiler that the element is meant to override an element declared in a superclass. Java tutorials helps. Here is java tutorial on Overriding
The @Override annotation is optional. It indicates that this is expected to be overriding. If you misspell/or any scenario (in which it is not been overridden), the compiler will warn you.
PS: You should search on tutorials a bit more!