How does java ignores anything written inside the comments section

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>

<In what way does your code behave incorrectly? Include ALL error messages.>

```

/* how does java understand to ignore the comment section or i should ask , how we had given instruction to avoid comments to the compiler > ? in java or in any other languages >? */

<do not remove the three backticks above>

Comments are easy, just do nothing until the end of the comment is reached

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.