The difference between a document comment and a multiline comment

Source: Internet
Author: User

Tag: class generate log requires blog ADO file span path

The difference between a multiline comment and a document comment: The contents of a multiline comment cannot be used to generate a developer document, and the content of a document comment can produce a developer document. Use the Javadoc development tool to generate a developer documentation.        Javadoc Tool use format:                javadoc-d The path to the document   Java source files     use the Javadoc tool to pay attention to the details:    1. If a class needs to use the Javadoc tool to generate a developer document for a software, the class must be decorated with public.    2. The contents of a document comment note are generally located above the class or method. Specifications for writing annotations: General single-line comments are located on the right side of the code, and multiline comments and document comments are generally written on top of the class or method.

The difference between a document comment and a multiline comment

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.