A comment in a Java program is one or more lines of text. A comment may be single line, multi-line or Javadoc. To practice writing each type of comment, follow these four steps.

Leave a Reply

Your email address will not be published. Required fields are marked *