()
| 7 | } |
| 8 | |
| 9 | public static String foo() { |
| 10 | int x = 0; |
| 11 | int y = 5; |
| 12 | try |
| 13 | { |
| 14 | System.out.println("start try"); |
| 15 | int b = y / x; |
| 16 | System.out.println("end try"); |
| 17 | return "returned from try"; |
| 18 | } catch (Exception ex) { |
| 19 | System.out.println("catch"); |
| 20 | return lem() + " | returned from catch"; |
| 21 | } finally { |
| 22 | System.out.println("finally"); |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | public static void bar() { |
| 27 | System.out.println("start bar"); |