• We comment in java by “ // “ .
  • Multi-line comments start with /* and end with */.
  • In Java, there are three types of comments:
    • 1.end-of-line comment : It starts with //.It is also called as the single-line comment.
    • 2.traditional comment : It starts with /* and ends with */.It is also called as multi-line comment.
    • 3.Java Doc comment : It starts with /** and ends with /, the content between /* and */ contains the java documentation information.