[JAVA] ch08-07. 예외 처리 7
·
JAVA/예제
public class Ex07 { public static void main(String[] args){ try{ throw new Exception(); //Exception은 try catch 안에서만 쓸 수 있다. }catch(Exception e){} } }