CCB Premier Import
This commit is contained in:
22
03-SOURCES/gestionStocks/C1.java
Normal file
22
03-SOURCES/gestionStocks/C1.java
Normal file
@@ -0,0 +1,22 @@
|
||||
package gestionStocks;
|
||||
|
||||
public class C1 {
|
||||
|
||||
private int a ;
|
||||
private float b ;
|
||||
|
||||
public int getA() {
|
||||
return a;
|
||||
}
|
||||
public void setA(int a) {
|
||||
if (a > 0)
|
||||
this.a = a;
|
||||
}
|
||||
public float getB() {
|
||||
return b;
|
||||
}
|
||||
public void setB(float b) {
|
||||
this.b = b;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user