Java is using java.lang as the default package.All the basic functionality for writing a simple java program are there written in the form of classes and interfaces and also designed some of the possible and probable exception and error raised while compiling and executing programs. Here i am categorizing all the exception, error , abstract class , final classes, interfaces etc....
Classes in java.lang packages
List of Abstract Interfaces (1)
CharSequence
List of Abstract classes (5)
AbstractStringBuilder
ClassLoader
Enum
Number
Process
List of Final classes (18)
Byte
Character
Class
ConditionalSpecialCasing
Double
Float
Integer
Long
Math
ProcessBuilder
ProcessEnvironment
ProcessImpl
Short
String
StringBuilder
StringBuffer
System
List of Classes (18)
CharacterData00
CharacterData01
CharacterData02
CharacterData0E
CharacterDataLatin1
CharacterDataPrivateUse
CharacterDataUndefined
Error
Exception
Object
Runtime
SecurityManager
Shutdown
StringCoding
Thread
ThreadGroup
ThreadLocal
Throwable
List of Exception Classes (25)
ArithmeticException
ArrayIndexOutOfBoundsException
ArrayStoreException
ClassCastException
ClassNotFoundException
CloneNotSupportedException
EnumConstantNotPresentException
IllegalAccessException
IllegalArgumentException
llegalMonitorStateException
IllegalStateException
IllegalThreadStateException
IndexOutOfBoundsException
InstantiationException
InterruptedException
NegativeArraySizeException
NoSuchFieldException
NoSuchMethodException
NullPointerException
NumberFormatException
RuntimeException
SecurityException
StringIndexOutOfBoundsException
TypeNotPresentException
UnsupportedOperationException
List of Error Classes (18)
AbstractMethodError
AssertionError
ClassCircularityError
ClassFormatError
ExceptionInInitializerError
IllegalAccessError
InstantiationError
InternalError
LinkageError
NoClassDefFoundError
NoSuchFieldError
NoSuchMethodError
StackOverflowError
UnknownError
UnsatisfiedLinkError
UnsupportedClassVersionError
VirtualMachineError
VerifyError