How Java uses the Help document API

Source: Internet
Author: User

How Java uses the Help document API

1: Open the Help document
2: Click Show, find index, see Input box
3: Know who you're looking for? Take scanner example
4: Enter scanner in the input box and return
5: Look at the bag
The classes under the Java.lang package do not need to be imported, and all others need to be imported.

To import:
Java.util.Scanner
6: Just take a look at the explanation and description of the class, and don't forget to look at the version of the class
7: See Structure of the class
member variable → field summary
Construction method → Construction Method Summary
member Method → Method summary
8: Learning how to construct
A: Create an object with a construction method
B: No constructor method members may be static
9: See Member methods
A: Left
Static: If static, can be called through the class name
Return value type: What is returned, you receive with what.
B: Right
Look at the method name: method names don't write wrong
Parameter list: What you want, what you give, how many people want, you give a few

How Java uses the Help document API

Related Article

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.