¿¹Á¦

protected void finalize() throws Throwable {
System.out.println("Calling RunFinalizersInExit finalize"); //$NON-NLS-1$
super .finalize();
}

public static void main(String[] args){
RunFinalizersOnExit_Example rfoe = new RunFinalizersOnExit_Example();
Runtime.runFinalizersOnExit(true);
}

¼Ö·ç¼Ç
ÀÌ È£ÃâÀ» Á¦°ÅÇÏ°í °¡ºñÁö ÄÝ·ºÅͰ¡ ÀÛ¾÷À» ¼öÇàÇϵµ·Ï ÇϽʽÿÀ.