parent
e3218c08fd
commit
ce7301f4b9
@ -0,0 +1,24 @@
|
||||
package visibleArithmeticExercise;
|
||||
|
||||
import visibleArithmeticExercise.Operation;
|
||||
|
||||
public class Addition extends Operation {
|
||||
|
||||
static String ch = "+";
|
||||
|
||||
public Addition(int n) {
|
||||
super(ch,n);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void operation() {
|
||||
correctAnswer = op1 + op2;
|
||||
}
|
||||
|
||||
public void isNumRight(){}
|
||||
|
||||
public void setRange(){
|
||||
minRange = 0;
|
||||
maxRange = maxInt + maxInt;
|
||||
}
|
||||
}
|
Loading…
Reference in new issue