PROGRAMING

Try catch in programming

Post by : John Deo
Post date: 2024-11-15 02:58:41

Read time : 2 minute
Total views: 164 times
Try catch in programming cover image

Try catch 

In modern programming try catch is good way for deal with error smoothly. 

 

Try catch is not fuction class object. Its a control structure. 

 

In try block u should write ur code. If any error occur. Through Exception object easily can detect that.

 

Finally block mean try catch done successfully. 

 

For production or development Both stage try catch good way to ensure quality. 

Share by:

Keep exploring

Read what excites, achieves and moves us Read what excites, achieves and moves us