11 lines
206 B
Java
11 lines
206 B
Java
public class Q2Main1{
|
|
public static void main(String[] args){
|
|
try{
|
|
Arithmetic2 erreur = new Arithmetic2();
|
|
}
|
|
catch(ArithmeticException e1){
|
|
System.out.println("division par 0");
|
|
}
|
|
}
|
|
}
|