Monday, October 5, 2015

[Java] Override Error (Java compatibility setting)

I've just learned that there are compatibility settings in Java.

Earlier versions of java doesn't support certain newer features. So whenever you see an error on parts of the code where you really don't see any error, go to project > Properties > Java Compiler > Enable Project specific setting and change the compiler compliance level to a later version, depending on the java features you want to make enabled, such as @Override which only applies to Java 1.5 and up.

Source

Regards,
HAJAR.

No comments:

Post a Comment