Showing posts with label Example of Exception Handling in Java. Show all posts
Showing posts with label Example of Exception Handling in Java. Show all posts

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 :


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...