JDK and Java documentation

Source: Internet
Author: User

JDK and Java documentation
PS: in a twinkling of an eye, it has been a long time before the previous article. It is said that the plan cannot keep up with the changes. These days are full of experience. During the time when the article is not updated, I am busy with project development all day, the brain has been completely confused, though, and never forgot to write a blog. No worries. Let's get into the topic! JDK is the abbreviation of Java Development Kit (Java Development Kit. It provides a basic development and running environment for Java applications. From the official website provided by oracle on Java download, JDK mainly contains the following content: Java virtual machine ---> it is responsible for parsing and executing Java programs. Java is often called a powerful tool everywhere, this is mainly because of the Java Virtual Machine. JDK class library ---> provides the most basic Java classes and various runtime classes. For example, classes in java. lang, java. util, java. SQL, java. io, and other packages are all in JDK. Development Tools ---> packaging tools ). Here we will go into details on how to install JDK. Nowadays, there are many network resources (You know ). After installation, the development tools mentioned above are available in the bin directory under the jdk directory. After installation, how to configure environment variables is not described here. JavaDoc documentation is provided for java developers to read. developers can use javaDoc to learn about development usage of other developers. In this regard, it is recommended that developers should develop a good habit of reading javaDoc documentation. The manual compilation of javadocfile is obviously laborious. Therefore, jdkimplements the javadoc.exe program, which can identify special comment statements in the java source file and automatically generate javaDoc documents based on these comment statements, A javaDoc document is composed of comments that meet specific specifications in the java source file. The following specifications are provided: first, the comments start with "/**" and end, contains common text, HTML, and javaDoc tags. For example, the View CodeJavadoc command can parse the above comments and generate the final javaDoc document. Next ---> the javadoc command value processes the class declaration, interface declaration, member method declaration, member variable declaration, and comments before the constructor declaration in the java source file, and ignores comments from other places. Common Javadoc labels and functions are as follows: @ version ---> specify the version information @ since ---> specify the version that appears at the earliest: @ author ---> specify the author name @ see ---> Generate a link that can be found in other javaDoc documents @ link ---> Generate links to reference other javaDoc documents, it differs from @ see in that the @ link mark can be embedded in the comment statement, you can generate a link @ deprecated ---> for a specific word in a comment statement to indicate that the class, variable, or method to be commented out has expired, in future versions, @ param ---> description method parameter @ return ---> description method return value @ throws ---> description method throw exception and specify conditions for throwing this exception

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.