up previous next contents
Next: Javadoc comment tags Up: Comments and Javadoc Previous: Comments and Javadoc   Contents

Types of comments

  • Three different ways to put comments in your Java code:

// define a comment to the end of the current row
  1. ... */
define a multi-line comment between the two symbols
  • ...*/
  • a "Javadoc" multi-line comment
     


    up previous next contents
    Next: Javadoc comment tags Up: Comments and Javadoc Previous: Comments and Javadoc   Contents