Sunday 20 July 2014

Example Of Exception Handling

Example Of Exception Handling

When we divide a number by zero it result in undefined state so it results in an Exception to handle this Exception we use try and catch. 
The program is as follows : 

OUTPUT :


3 comments:

  1. I certainly agree to some points that you have discussed on this post. I appreciate that you have shared some reliable tips on this review.

    ReplyDelete
  2. It was very useful for me. Keep sharing such ideas in the future as well. This was actually what I was looking for, and I am glad to came here! Thanks for sharing the such information with us.

    ReplyDelete
  3. Hey keep posting such good and meaningful articles.

    ReplyDelete

Chapter : 1 - First code in Node JS Previously I have written a blog about Getting Started with Node JS and its installation. Now lets s...