Answers for "1. how does exception handling work in java?"

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 "1. how does exception handling work in java?"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language