|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
@override?
Hello everyone,
I am using JDK 1.4 and there is a compiling a 3rd party program error because of un-recognized word @override. Could anyone let me know what is the function of @override and in order to use it, which version of JDK is required? thanks in advance, George |
|
#2
|
||||
|
||||
|
If I remember correctly annotations were added in jdk 1.5 (or 5.0 whatever). Quote: the @Override annotation informs the compiler that the element is meant to override an element declared in a superclass. (http://java.sun.com/docs/books/tutorial/java/javaOO/annotations.html)
But (again if i remember correctly), you may be able to remove the annotation and compile without any problem. Although you'll probably run into other jdk 1.5 related new stuff.. Good luck
__________________
Current project: roborally |
![]() |
| Viewing: Dev Articles Community Forums > Programming > Java Development > @override? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|