Skip to main content
IBM HomeProductsConsultingIndustriesNewsAbout IBM
IBM : developerWorks : Java Technology : Education - online courses
J2ME: Step by step
Download tutorial zip fileView letter-sized PDF fileView A4-sized PDF fileE-mail this tutorial to a friend
Main menuSection menuGive feedback on this tutorialPreviousNext

java.lang page 2 of 11

The CLDC java.lang package is a subset of the J2SE java.lang package. Perhaps the most notable omissions compared to J2SE are floating point operations and, in particular, floating point (Float) and double precision (Double) classes. These omissions have implications to all other classes if floating point is used.

When compared with J2SE v1.3 API, there are several other classes that are omitted from the CLDC API, including ClassLoader, Compiler, InheritableThreadLocal, Number, Package, Process, RuntimePermission, SecurityManager, StrictMath, ThreadGroup, ThreadLocal, and Void.

We describe the main classes available in the CLDC java.lang package in the tables on the next few panels. The use of each of these classes should already be familiar to any Java developer.

In addition to these core classes, you will also see that the Runnable interface is supported by CLDC, as are the Exception, Error and related classes.

Main menuSection menuGive feedback on this tutorialPreviousNext