+ 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
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.
+ 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.
+ 2
Does it mean the @comments are seen in the output console?