हिंदी

What is the Function of Catch Block in Exception Handling ? Where Does It Appear in a Program ?

Advertisements

प्रश्न

What is the function of catch block in exception handling? Where does it appear in a program?

टिप्पणी लिखिए
Advertisements

उत्तर

Catch block is used as exception handler in exception handling. We can put the code to deal with the execution that might arise, in this block. Catch block must appear just below the tiy block.

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2014-2015 (March) Set 1
Advertisements
Share
Notifications



      Forgot password?
Use app×