Expand|Select|Wrap|Line Numbers
- import java.math.BigInteger;
- public class Integer {
- private BigInteger IntegerONE; // both entered as strings from GUI
- private BigInteger IntegerTWO;
- public Integer() {
- }
- public Integer( BigInteger IntegerONE, BigInteger IntegerTWO){
- this.IntegerONE = IntegerONE; // I am not sure here?
- this.IntegerTWO = IntegerTWO;
- }
- public BigInteger getIntegerONE(){
- return IntegerONE;
- }
- public BigInteger getIntegerTWO(){
- return IntegerTWO;
- }
- public BigInteger add(BigInteger val){
- return(val); // Psuedocode says(this + val)
- }