public static void main(String args) throws Exception { try { System.out.println("this line executed."); System.out.println(10 / 0); System.out.println("this line executed."); } catch (ArithmeticException e) { S
gan ane lg maen2 ma try and catch...tapi ane bingung kok hasil dari 2 percobaan ini beda yah..... public static void test(int a,int b){ try{ int hasil=a/b; System.out.println("hasil= "+hasil); int A={1,2,3}; //System.out.println("hasil= "); A=12; System.out.println("hasi...