API use steps

What API

API (Application Programming Interface), an application programming interface. Java API programmer is a dictionary, is available to the JDK classes we use documentation. These classes encapsulate the underlying code that implements them, we do not care how these classes are implemented, only we need to learn how to use these classes. So we can query the API way to learn Java classes offered, and learned how to use them.

API use the steps

  1. Opens the help file.
  2. Click on display, find the index, see the input box.
  3. Whom are you calling? Input in the input box, then press Enter.
  4. Look at the package. java.lang class does not need conductivity in the package, other needs.
  5. Explained and illustrated look like.
  6. Learning constructor.
  7. Use members of the method or field.

Guess you like

Origin www.cnblogs.com/wurengen/p/10959090.html