20 lines
343 B
Java
Raw Normal View History

2024-04-28 01:40:14 +02:00
public class Cell {
private int value;
public Cell() {
this.value = 0;
}
// Constructeur prenant une valeur comme argument
public Cell(int value) {
this.value = value;
}
public int getValue() {
return value;
}
public void setValue(int value) {
this.value = value;
}
2024-04-30 12:20:16 +02:00
}