how would you implement an interface in java example calculator
<p>I've got a Calculator interface that contains</p>

<pre><code>public interface Calculator {

    public void setOperator(char operator);         
    public void setOperand (double operand);  
    public double getResult();
}
</code></pre>

<p>How would i implement this in another class, for a basic calculator???</p>
