parent
94d6109d55
commit
6e6e298ca2
@ -0,0 +1,27 @@
|
||||
package small_computer;
|
||||
|
||||
public class MUL {
|
||||
private int a;
|
||||
private int b;
|
||||
public int getA() {
|
||||
return a;
|
||||
}
|
||||
public void setA(int a) {
|
||||
this.a = a;
|
||||
}
|
||||
public int getB() {
|
||||
return b;
|
||||
}
|
||||
public void setB(int b) {
|
||||
this.b = b;
|
||||
}
|
||||
public MUL() {
|
||||
super();
|
||||
// TODO Auto-generated constructor stub
|
||||
}
|
||||
public int Mul(int a,int b) {
|
||||
this.a =a;
|
||||
this.b =b;
|
||||
return a*b;
|
||||
}
|
||||
}
|
Loading…
Reference in new issue