Answers for "what is exception? explain the types of exception handling technique in java."

3

what is exception in java

An exception is an event, which occurs during the execution of a 
program, that disrupts the normal flow of the program's instructions.
Posted by: Guest on November-01-2020
1

how many ways we can do exception handling in java

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
Posted by: Guest on December-01-2020

Code answers related to "what is exception? explain the types of exception handling technique in java."

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language