课程: Java 8+ Essential Training: Syntax and Structure

今天就学习课程吧!

今天就开通帐号,24,600 门业界名师课程任您挑!

Use the Java API documentation

Use the Java API documentation

- [Instructor] All Java developers, regardless of whether they're new to the language or have been working with it for many years, need access to the documentation. The number of APIs and their depth is simply too extensive to keep it all in your head. IntelliJ IDEA gives you some very easy ways to find information about various Java packages and classes, and I'll show you some of them here. One of the first things you can do is to look at Quick Documentation for classes from the core Java Runtime. I'm going to work with the string class. In this project, I'll place the cursor inside the name of the string class, and then, on Windows, I'll press Control + Q, and on Mac, Control + J, and that opens this little window that shows the documentation for the string class. And, from there, I can scroll through and get a lot of useful information. But if you want access to all the external documentation, that is, the full documentation set on the Oracle website, you have to set it up in…

内容