April 2018
Intermediate to advanced
910 pages
33h 21m
English
Java annotations refer to a special kind of metadata that resides inside your Java source code files. They are not stripped by javac, so that they can remain available to the JVM at runtime.
Annotations look similar to JavaDocs references because they start with the @ symbol. There are three types of annotations. Let's examine each:
@thisIsAMarkerAnnotation public double computeSometing(double x, double y) { // do something and return a double }