We can handle exceptions in either of the two ways : 1) By specifying try catch block where we can catch the exception. 2) Declaring a method with throws clause