TP11 & TP12

This commit is contained in:
2022-04-12 17:16:22 +02:00
parent 39ef600e6d
commit 619b3ac7b6
32 changed files with 408 additions and 29 deletions

Binary file not shown.

View File

@@ -0,0 +1,13 @@
public class Arithmetic {
public static void crash() {
System.out.println(1 / 0);
}
public static void main(String[] args) {
try {
crash();
} catch (ArithmeticException e) {
System.err.println(e);
}
}
}