Thursday, March 4, 2021

 What is Exception Handling ??

In Java Exception Handling is a mechanism or process when we use to handle some error over the programme ....

when we write our code some error or bugs which is predictable when we execute that particular programme we have crash our programme on that case we will handle our error through exception handling using Try and Catch block or Throws Keyword in java programming ....

When we use Try Block in our code we can handle some errors during compile time and as well as runtime and 

When we use Throws Keyword we can Handle our error or Exception during the compile time only 

not for the run time you can know more about if want to go for videos on my channel...Code With Irfan


 

No comments:

Post a Comment

Featured Posts