Java class library

The large set of ready-made classes every Java program can use without adding a dependency, such as String, List, Optional and Thread.

In more detail

The class library ships with every Java runtime, organised into packages such as java.lang, java.util and java.time. The runtime is the JVM together with this library. Its official documentation is the Java API reference, which the course links for each class it uses.

Example

java.util.List, java.util.Optional and java.time.Clock all come from the class library

Related terms

Taught in

References