Ex10_2 코드
package org.javaro.lecture;
public class Ex10_2 {
public static void main(String[] args)
// TODO Auto-generated method stub
throws Exception{
System.out.println("조병수-20191114-예외처리");
func();
}
static void func() {
int i=5;
int j=0;
System.out.println(i/j);
}
}
실행창
