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