Page 1 of 1

1. Write the output of these code block without running class TestExcepRoute { public static void main(String [] args)

Posted: Mon Jun 06, 2022 6:14 pm
by answerhappygod
1 Write The Output Of These Code Block Without Running Class Testexceproute Public Static Void Main String Args 1
1 Write The Output Of These Code Block Without Running Class Testexceproute Public Static Void Main String Args 1 (6.72 KiB) Viewed 28 times
1 Write The Output Of These Code Block Without Running Class Testexceproute Public Static Void Main String Args 2
1 Write The Output Of These Code Block Without Running Class Testexceproute Public Static Void Main String Args 2 (30.25 KiB) Viewed 28 times
1. Write the output of these code block without running

class TestExcepRoute { public static void main(String [] args) { try { method (): } catch (Exception e) { System.out.print('m'); } System.out.println('n'); } static void createException () { throw new Array IndexOutOfBoundsException(); } static void method () { try { } createException(); System.out.print('a'); } catch (ArithmeticException e) { System.out.print('b'); } finally { } System.out.print('d'); System.out.print('c');