import java.lang.Throwable;
class exception
{
public static void main(String[] args)
{
int c;
int a=5;
int b=0;
try
{
System.out.println("Hellow....");
c=a/b;
System.out.println("Haiii");
}
catch(Exception e)
{
System.out.println(e);
}
System.out.println("yippeeeee");
}
}
0 comments:
Post a Comment