FileDocCategorySizeDatePackage
Exception2.javaAPI DocExample450Fri Mar 30 17:30:04 BST 2001None

Exception2

public class Exception2 extends Applet

Fields Summary
int
num1i
int
num2i
Constructors Summary
public Exception2()


 	 
	
	
	try 		{
		divide();
		}
	catch (ArithmeticException ae)
		{
		System.out.println("Error" + ae);
		}
	
	System.out.println("Finished");

	
Methods Summary
public voiddivide()

	System.out.println("10 / " + num1i + " = " + (num1i / num2i));