Is it possible to execute two catch blocks?

Author Topic: Is it possible to execute two catch blocks?  (Read 600 times)

Offline beingchinmayTopic starter

  • Trade Count: (0)
  • Jr. Member
  • **
  • Thank You 1
  • Posts: 73
  • Karma: 0
  • Gender: Male
  • I am Chinmay
    • Fat Cutter
Is it possible to execute two catch blocks?
« on: 01-18-2017, 00:57:54 »
You are allowed to include more than one catch block in your program; however, it is not possible to execute them in one go. Whenever, an exception occurs in your program, the correct catch block is executed and the control goes to the finally block.


 

Related Topics

  Subject / Started by Replies Last post
0 Replies
1525 Views
Last post 10-04-2010, 12:11:33
by nick8609