création des variables membres de la classe Instrument
This commit is contained in:
parent
9a0b3f147b
commit
6fc99cba67
@ -1,13 +1,26 @@
|
|||||||
/*
|
/*
|
||||||
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
||||||
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
|
||||||
*/
|
*/
|
||||||
package métiers;
|
package métiers;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author famille Thevenot
|
* @author famille Thevenot
|
||||||
*/
|
*/
|
||||||
public class Instrument {
|
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;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user