Re: @override?



George3 wrote:
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?

It's an annotation:
<http://java.sun.com/docs/books/tutorial/java/javaOO/annotations.html>

Annotations were introduced in Java 5.

You should seriously consider using a current version of Java.

--
Lew
.



Relevant Pages

  • @override?
    ... I am using JDK 1.4 and there is a compiling a 3rd party program error because ... of un-recognized word @override. ...
    (comp.lang.java.help)
  • Re: @override?
    ... Lew wrote: ... of un-recognized word @override. ... You should seriously consider using a current version of Java. ...
    (comp.lang.java.help)
  • Re: @override?
    ... of un-recognized word @override. ... function of @override and in order to use it, which version of JDK is ... It just means this method overrides some other method. ...
    (comp.lang.java.help)
  • Re: How to cast pointers to events?
    ... > stuff with Delphi's built-in handling for pointers. ... yes...though not playing with Java 2 necessarily. ... > Why override the Notify instead of the Remove to dispose of the ... The one thing I can categorically state is that the general trend is to let ...
    (borland.public.delphi.language.objectpascal)
  • Re: method overriding
    ... the semantics are obviously more complicated than the previous ... >> subclass's method as an override. ... what I do with "Java" does not involve javac itself -- talking to the JVM ... is possible to be an "all round", reasonably competent Java programmer without ...
    (comp.lang.java.programmer)