Adding two inputs
<p>I am trying to use my plus() method to add two inputs together but it doesnt seem to be working and I have tried a lot of different things and also done some research.  This is a simple calculator application and the plus should just be adding the two integers together.  Any help would be much appreciated.  And some explanation too, I want to also figure this out but also learn it! Thank you everyone!</p>

<pre><code>public class BasicAccumulator implements Accumulator {

private int digit;
private int value;



public void BasicAccumulator(int digit, int value)
{
    this.digit = digit;
    this.value = value;
}

public void addDigit(int digit)
{
    value = value * 10 + digit;
}

public void plus()
{
    value = value* 10 + digit;
}

public void minus()
{
    value = value - digit;
}

public void clear()
{
    value = 0;
}

public int displayValue()
{
    return value;
}

}
</code></pre>
