public void method() { System.out.println("1"); try { System.out.println("2"); throw new Exception("Hello"); System.out.println("3"); } catch (Exception e) { System.out.println("4"); throw e; System.out.println("5"); } finally { System.out.println("6");`од` } System.out.println("7"); } Why is this code not compiled?
tryandcatchblocks, and also after thefinallyblock, there is an unreachable code. 3. In thefinallyblock, there are generally any misunderstood "od" characters. - Regent