création des variables membres de la classe Instrument

This commit is contained in:
ines.benalia 2024-09-12 08:56:15 +02:00
parent 9a0b3f147b
commit 6fc99cba67

View File

@ -10,4 +10,17 @@ package métiers;
*/
public class Instrument {
private int ref;
private String designation;
private int qteStock;
private float prix;
public Instrument(int ref, String designation, int qteStock, float prix){
this.ref=ref;
this.designation=designation;
this.qteStock=qteStock;
this.prix=prix;
}
}