+ 5

I don't understand the line "@Override". Can we do comment using '@'?

Code is given. Line no. 6, 13. https://code.sololearn.com/cjQ6Ush9Pr8c/?ref=app

9th Dec 2017, 7:10 PM
Sayan Kundu
3 Answers
+ 9
The @Override annotation is used to make your code easier to understand, because it makes it more obvious when methods are overridden.
9th Dec 2017, 7:18 PM
Vukan
Vukan - avatar
+ 3
@ starts an annotation. You can think of that as a machine readable commentary. There is only a limited number in the library, but in theory you can define your own.
9th Dec 2017, 7:31 PM
1of3
1of3 - avatar
+ 2
Does it mean the @comments are seen in the output console?
16th Jun 2018, 5:12 PM
Abiola
Abiola - avatar