Help the world stop coronavirus! Stay home!

Prev Next

Java / Annotations

Where do I apply annotations in a Java program?

Java Annotations can be applied to Java element declarations and as of Java 8, annotations are applicable to the types.

The Annotations on element declarations include classes, fields, methods, local variables, and other elements.

Annotations on types include object creation, type casting, implements clause and throws exception declaration. This form of annotation is known as type annotation.

❤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