December 1999
Intermediate to advanced
816 pages
20h 27m
English
This chapter provides a quick reference for the interfaces, classes, and methods in java.lang. This is the core package in the Java 2 SDK, and it defines the basic pieces that all other classes depend on, whether they are part of the Java 2 SDK, or user-defined classes. This package has many classes and interfaces which are used frequently, such as String, Class, Thread, Exception, and System. The System class is the basic class for console output. To use it, type
System.out.println(some primitive or object);
The class Class is used to interrogate other classes and to help load classes dynamically into memory (for example, a JDBC driver). The String class is used to represent character strings. The System class provides ...
Read now
Unlock full access