Skip to content
On this page

5.11.3阅读API文档

如何下载API文档

  1. 下载地址,点击进入:

    http://www.oracle.com/technetwork/java/javase/documentation/jdk8-doc-downloads-2133158.html

图5-27 API下载界面图.png

图5-27 API下载界面图

  1. 下载成功后,解压下载的压缩文件,点击进入docs/api下的index.html文件即可。

图5-28 打开index.html文件.png

图5-28 打开index.html文件

API文档如何阅读

图5-29 API文档.png

图5-29 API文档

· eclipse中将鼠标放到类或方法上,即可看到相关的注释说明;再按下F2即可将注释窗口固定。

图5-30 eclipse中的注释说明图.png

图5-30 eclipse中的注释说明图