9 lines
291 B
Java
9 lines
291 B
Java
public class Main {
|
|
public static void main(String[] args) {
|
|
try {
|
|
ArithmeticExceptionVrai.computeDivision();
|
|
} catch (ArithmeticException e) {
|
|
System.out.println("Une erreur arithm├ętique s'est produite : " + e.getMessage());
|
|
}
|
|
}
|
|
} |