Annotations in Java


Annotations provide data about your program, but they don’t directly affect its operation.

Source Code

@Override
public String toString() {
    return "Example class";
}
@SuppressWarnings("unused")
public void exampleMethod() {}
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments