Java - Library Classes
This tutorial would cover package java.lang, which provides classes that are fundamental to the design of the Java programming language. The most important classes are Object, which is the root of the class hierarchy, and Class, instances of which represent classes at run time.
Here is the list of classes of package java.lang. These classes are very important to know for a Java programmer. Click a class link to know more detail about that class. For a further drill, you can refer standard Java documentation.
|SN||Methods with Description|
The Byte class wraps a value of primitive type byte in an object.
The Character class wraps a value of the primitive type char in an object.
Instances of the class Class represent classes and interfaces in a running Java application.
A class loader is an object that is responsible for loading classes.
The Compiler class is provided to support Java-to-native-code compilers and related services.
The Double class wraps a value of the primitive type double in an object.
The Float class wraps a value of primitive type float in an object.
The Integer class wraps a value of the primitive type int in an object.
The Long class wraps a value of the primitive type long in an object.
The class Math contains methods for performing basic numeric operations such as the elementary exponential, logarithm, square root, and trigonometric functions.
The abstract class Number is the superclass of classes BigDecimal, BigInteger, Byte, Double, Float, Integer, Long, and Short.
Class Object is the root of the class hierarchy.
Package objects contain version information about the implementation and specification of a Java package.
The Runtime.exec methods create a native process and return an instance of a subclass of Process that can be used to control the process and obtain information about it.
Every Java application has a single instance of class Runtime that allows the application to interface with the environment in which the application is running.
This class is for runtime permissions.
The security manager is a class that allows applications to implement a security policy.
The Short class wraps a value of primitive type short in an object.
An element in a stack trace, as returned by Throwable.getStackTrace().
The class StrictMath contains methods for performing basic numeric operations such as the elementary exponential, logarithm, square root, and trigonometric functions.
The String class represents character strings.
A string buffer implements a mutable sequence of characters.
The System class contains several useful class fields and methods.
A thread is a thread of execution in a program.
A thread group represents a set of threads.
This class provides thread-local variables.
The Throwable class is the superclass of all errors and exceptions in the Java language.
The Void class is an uninstantiable placeholder class to hold a reference to the Class object representing the Java keyword void.