finally
-
try, catch, finally개발노하우/Java 2007. 6. 4. 12:11
class object{ static int a,b; public static void main(String arg[]){ try{ int a = Integer.parseInt(arg[0]); int b = Integer.parseInt(arg[1]); System.out.println("매게변수로 받은 두 개의 값"); System.out.println("a="+a+"b="+b); System.out.println("====================="); System.out.println("a()메소드 호출 전"); a(); System.out.println("a()메소드 호출 후"); } catch(ArithmeticException e){ System.out.println("Arithmetic..