Java packages
Java language
Article REF: H3088 V1
Java packages
Java language

Authors : Patrick BELLOT, Christophe MATIACHOFF

Publication date: August 10, 1998 | Lire en français

Logo Techniques de l'Ingenieur You do not have access to this resource.
Request your free trial access! Free trial

Already subscribed?

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.

2.1 The java.lang package

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.
Logo Techniques de l'Ingenieur

Exclusive to subscribers. 97% yet to be discovered!

You do not have access to this resource. Click here to request your free trial access!

Already subscribed?


Article included in this offer

"Software technologies and System architectures"

( 227 articles )

Complete knowledge base

Updated and enriched with articles validated by our scientific committees

Services

A set of exclusive tools to complement the resources

View offer details