Without further ado, let's go straight to the method.
Open the official website: http://www.oracle.com/technetwork/cn/java/javase/downloads/index.html
Method 1. Online browsing
Click on Java 文档
:
Click on Java SE Technical Documentation
:
Click on API Documentation
:
select java.base
:
select java.lang
:
For example, find Object
the class and click to open:
Here is Object
the detailed documentation of the class, including attributes and methods:
Method 2: Download the document to the local
Click on Java 下载
:
Scroll down and click Java SE
:
Click on Documentation Download
:
Click to download
After decompression, click index.html
to browse the document: