Java Reference
In-Depth Information
The java.lang Package
This package provides classes that are fundamental to the design of the Java programming language.
Interface
The Runnable interface needs to be implemented by a class when its instances are intended for
execution by a thread.
Classes
Boolean The Boolean class is a wrapper class for a value of the primitive Java data
type boolean .
Byte The Byte class is a wrapper class for a value of the primitive Java data type
b yte .
Character The Character class is a wrapper class for a value of the primitive Java
d ata type char .
Class The instances of the class Class represent Java classes and interfaces of a
r unning Java application.
Double The Double class is a wrapper class for a value of the primitive type
double . This class is part of CLDC since version 1.1.
Float The Float class is a wrapper class for a value of the primitive type float .
This class is part of CLDC since version 1.1.
Integer The Integer class is a wrapper class for a value of the primitive Java data
type int .
Long The Long class is a wrapper class for a value of the primitive Java data type
l ong .
Math The Math class provides some basic mathematical operations on the Java
p rimitive data types int , long , float and double .
Object The Object class is the superclass of every Java class in a class hierarchy.
Runtime The Runtime class provides every Java application with an interface for
interacting with the application environment where it is executed. Only one
instance of the Runtime class is available in a running application.
Short The Short class is a wrapper class for a value of the primitive Java data
t ype short .
String The String class represents character-based strings.
StringBuffer The StringBuffer class represents a mutable sequence of characters.
System
The System class provides system-related methods.
Thread
The Thread class represents a running thread of a Java application.
Throwable
The Throwable class is the superclass of every exception and error in the
J ava language.
Exceptions
ArithmeticException
The ArithmeticException is thrown if an
u nexpected arithmetic exception occurs.
ArrayOutOfBoundsException
The ArrayOutOfBoundsException is thrown
when an illegal index of an array is accessed.
ArrayStoreException
The ArrayStoreException is thrown to indicate
 
Search WWH ::




Custom Search