Error handling in java catch throw.

class Error1
{
public static void main(String args[])
{
int a=10;
int b=5;
int c=5;
int x,y;

try
{
x=a/(b-c);
}
catch(ArithmeticException e)
{
System.out.println("Division by zero");
}
y=a/(b+c);
System.out.println("Result="+y);
}
}

We Are Founder..