Testé
Testé
java :
```java
public Article(String code, String libelle, String categorie, double prixUnit, double stock) {
this.code = code;
this.libelle = libelle;
this.categorie = categorie;
this.prixUnit = prixUnit;
this.stock = stock;
stock -= quantiteAchete;
} else {
System.out.println("Stock insuffisant");
stock += quantiteEntree;
return code;
this.code = code;
return libelle;
this.libelle = libelle;
return categorie;
this.categorie = categorie;
}
public double getPrixUnit() {
return prixUnit;
this.prixUnit = prixUnit;
return stock;
this.stock = stock;
```
```java
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;