This commit is contained in:
2023-10-23 13:23:36 +02:00
parent 667dae6f1a
commit 322b22f9bf
5711 changed files with 72953 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
public class Arithmetic1{
public Arithmetic1(){
try{
int erreur = 8/0;
}
catch(ArithmeticException e1){
System.out.println("division par 0");
}
}
}

View File

@@ -0,0 +1,5 @@
public class Arithmetic1{
public Arithmetic1(){
int erreur = 8/0;
}
}

View File

@@ -0,0 +1,5 @@
public class Arithmetic2{
public Arithmetic2(){
int erreur = 8/0;
}
}

View File

@@ -0,0 +1,5 @@
public class Arithmetic{
public static void main(String[] args){
int erreur = 8/0;
}
}

View File

@@ -0,0 +1,5 @@
public class Q2Main1{
public static void main(String[] args){
Arithmetic1 erreur = new Arithmetic1();
}
}

View File

@@ -0,0 +1,5 @@
public class Arithmetic{
public static void main(String[] args){
int erreur = 8/0;
}
}

View File

@@ -0,0 +1,10 @@
public class Q2Main2{
public static void main(String[] args){
try{
Arithmetic2 erreur = new Arithmetic2();
}
catch(ArithmeticException e1){
System.out.println("division par 0");
}
}
}

View File

@@ -0,0 +1,10 @@
public class Q2Main1{
public static void main(String[] args){
try{
Arithmetic2 erreur = new Arithmetic2();
}
catch(ArithmeticException e1){
System.out.println("division par 0");
}
}
}