SAe/SAe2.1/commentente/SAé/Or.java

20 lines
293 B
Java
Raw Permalink Normal View History

2023-05-19 17:13:41 +02:00
public class Or extends CaseBonus{
public int value;
public Or(int v, int x, int y){
super(x, y, "or");
this.value = v;
}
public String getLabel(){
return (""+this.value);
}
public int getValue(){
return this.value;
}
public void setValue(int val){
this.value = val;
}
}