Courses / Java
13. Java Comments
Annotations in the code that are ignored by the compiler, used to explain the code.
1 min read Chapter 13 of 71
Java
Java Comments
Java comments are notes in the code that help explain it but are ignored by the compiler.
"I often forget why I wrote something, so I need comments to remind me."
Comments in Java are annotations that provide explanations or notes in the code, which the compiler ignores during execution.
"I often forget why I wrote something, so I need comments to remind me."
Comments in Java are annotations that provide explanations or notes in the code, which the compiler ignores during execution.