class Ex1
{
public static void main(String[] args)
int a=5;
try
float b=5/0;
}
catch(Exception e)
System.out.println("exception caught");
System.out.println(e);
System.out.println("rest of code");
No comments:
Post a Comment