How to call a method that has an interface as a parameter?
<p>I have the following method in a class:</p>

<pre><code>public void Process(Measurable x)
{
    String y = x.getResult();

    for (int k = 0; k&lt;item.length; k++)
    {
        if (y.equals(item[k])) tally[k]++;
    }
}
</code></pre>

<p>My question is, how do I call the Process method? Calling it with</p>

<pre><code>Process(Measurable y);
</code></pre>

<p>in the default constructor or the driver class doesn't work, nor does calling it with no parameter (as I would expect).</p>
