I am watching a tutorial on Java and there is @ symbol. What does it mean? It looks so much like a comment /* */ or this one // Maybe it is a tag?
Asked
Active
Viewed 136 times
2 Answers
1
The @ symbol is a Java Annotation. What a Java annotation does, is that it adds a special attribute to the variable, method, class, interface, or other language elements.

Jacopo Mosconi
- 972
- 8
- 22
-
1I think because there is another question like this: https://stackoverflow.com/questions/31822020/in-java-what-does-the-symbol-mean?noredirect=1&lq=1 – Jacopo Mosconi Dec 18 '20 at 12:52
0
The "@" symbol is called an Annotation. You can take a look at these links here and they'll give you some good info in them:

Daniel
- 476
- 6
- 21