Help the world stop coronavirus! Stay home!

Prev Next

Java / Annotations

List few annotations defined in Java SDK.

Many annotations are defined in java.lang and java.lang.annotation package.

@Deprecated annotation indicates that the element is deprecated and no longer in use. The compiler issues a warning when such element- Class, method or field with @Deprecated annotation is used.

@Override annotation specifies that the element overrides its super class definition.

@SuppressWarnings suppresses the compiler warnings that it would generated.

@SafeVarargs suppresses unchecked warning related to varArgs usage and asserts that the code performs only safe operations on the varArg parameters.

@FunctionalInterface identifies a functional interface as part of Java 8 specification.

❤Cash Back At Stores you Love !!!❤

Earn your $10 reward when you make your first purchase through Ebates by signing up with clicking below button.

Ebates Coupons and Cash Back

More Related questions...

Show more question and Answers...


Comments & Discussions