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)

Boolean 

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 

Related Posts:

  • Instance Inner class in Java As the name itself indicates that inner class with non-static scope that means a member of outer class which is of instance scope called as instance inner class. Instance inner class is itself a class but we cannot use any s… Read More
  • Local inner class in Java Local inner class is a class which is define local to the outer class. So it must be defined within the local scope of a class like method, constructor or initialization block . A class within a class in never treated as the… Read More
  • Access Modifiers in java Access Modifier in java defines the scope of accessibility of methods, constructors, variables etc. So to access the different members of the class/interfaces with different scope we have three access modifiers : 1. Publ… Read More
  • Static inner class in Java Like Instance inner class we have also static inner class. Static instance class is loaded at the time of loading the outer class as it is declared as static that means it will act as the static member of the outer class and… Read More
  • Anonymous class in Java Like other classes in java , anonymous is also a type of class but it doesn't have any name like other classes have their own name either defined by the user or pre-defined in the java by the java vendors. So anonymous class… Read More

1 comment:

Ads 468x60px

.

Ads

.

Featured Posts

Popular Posts

Like Us On FaceBook

Total Pageviews

201978

Online Members

Live Traffic