2. Java packages
Java comes with a rich set of classes grouped by domain in different packages. This de facto standardization of many classes should avoid the problems encountered with C++, where each compiler editor has developed its own classes, making it difficult to recompile a C++ source program in a development environment different from the original one. The wide variety of classes offered in Java packages makes programming complex applications quick and easy. In this section, we give a brief overview of what's available.
The java.lang package contains the basic Java classes: Object, String, Math, Thread, etc. The import directive java.lang.* ; is implicit.
You do not have access to this resource.
Exclusive to subscribers. 97% yet to be discovered!
Already subscribed?
Log in!
Ongoing reading
Java packages