@Override annotation in Java6

Friday, 8. August 2008

The @Override annotation added in Java5 is very useful. Recently I found out the annotation of Java6 differs from that of Java5. Java6 allows annotating a method that implements a method declared in interface with @Override whereas Java5 doesn’t allow it.

Unfortunately I couldn’t find any document on the change from java.sun.com site. Missing this issue from the release note of Java6 seems to be a mistake as http://blogs.sun.com/ahe/entry/override_snafu says.

One Response to “@Override annotation in Java6”



  1. Recent Faves Tagged With "java6" : MyNetFaves Says:

    [...] saved by Harini1008 | 4 days ago programmer needed !!! First saved by vraius | 7 days ago @Override annotation in Java6 First saved by mrsADOLFHITLER | 13 days ago Holy Moly! Java6 is Officially Out for Mac First [...]

Leave a Reply