Posts

EXCEPTION HANDLING IN JAVA

Image
  Exception Handling in Java                          The  Exception Handling in Java  is one of the powerful  mechanism to handle the runtime errors  so that the normal flow of the application can be maintained. What is Exception Handling?          Exception Handling is a mechanism to handle runtime errors such as ClassNotFoundException, IOException, SQLException, RemoteException, etc. Advantage of Exception Handling:                            The core advantage of exception handling is  to maintain the normal flow of the application . An exception normally disrupts the normal flow of the application; that is why we need to handle exceptions. Hierarchy of Java Exception classes: Types of Java Exceptions:                 ...