Tag Archives: Exception in java

What is Exception and Exception hierarchy in Java?

What is Exception and Exception hierarchy in Java?

What is Exception and Exception hierarchy in Java? Throwable class act as the root for Java Exception Hierarchy. A throwable class defines two child classes Exception Error Exception An unexpected unwanted even that disturbs normal flow of the program is called an exception. It is highly recommended to handle the exceptions and the main objective of exception handling is graceful ...

Read More »

What is the checked and unchecked exception?

What are the checked and uncheched exception?

What is the checked and unchecked exception? The exceptions which are checked by the compiler for smooth execution of the program are called checked exceptions. In our program, if there is a chance of raising checked exception then compulsory we should handle that checked exception either by try-catch or by throws keyword otherwise we will get compile time error. Unchecked ...

Read More »

Responsive WordPress Theme Freetheme wordpress magazine responsive freetheme wordpress news responsive freeWORDPRESS PLUGIN PREMIUM FREEDownload theme free