Category: Java Exceptions

Exceptions are events that occur during the execution of programs that disrupt the normal flow of instructions (e.g. divide by zero, array access out of bound, Null object accessing etc.)

throw,throws,finally

Classes and Objects interview questions

We are going to explaining What is throw,throws,finally in java? throws throws clause in used to declare an exception and postpone the handling of a checked exception throws clause is used to declare checked and un-checked exceptions throws clause is followed by exception class names. throws clause is used in method Syntax public void  getData() […]