Multi-Threading in Java

Executing multiple tasks in Java together is a concept of multitasking, there are two types of multi-tasking – Process Based …

Read more

try with Resources in Java

In Java 1.7v following two concepts are introduced to enhance exception handling in Java. try with Resources Let’s consider the …

Read more

IllegalThreadStateException

IllegalThreadStateException is a child class of RunTimeException, Hence it is an unchecked exception. IllegalThreadStateException was explicitly raised by the programmer …

Read more

NumberFormatException

NumberFormatException is the child class of IllegalException which is the child class of RunTimeException, Hence it is an unchecked Exception. …

Read more

IllegalArgumentException

IllegalArgumentException is a child class of RunTimeException, Hence it is an unchecked exception. IllegalArgumentException is raised explicitly either by the …

Read more

ExceptionInInitializerError

ExceptionInInitializerError is a child class of Error in Java, Hence it is an unchecked exception. ExceptionInInitializerError is automatically raised by …

Read more

NoClassDefFoundError

NoClassDefFoundError is a child class of Error in Java, Hence it is an unchecked Exception. NoClassDefFoundError is automatically raised by …

Read more

StackOverflowError

StackOverflowError is the child class of Error in Java, Hence it is an unchecked Exception. StackOverflowError is automatically raised by …

Read more

ClassCastException

ClassCastException is the child class of RunTimeException, hence it is an unchecked exception, This exception is automatically Raised by JVM …

Read more