how to properly change an interface after it has been implemented by many classes? java
<p>I have an </p>

<pre><code>public interface DoIt {
    void dosomething (int i, double x);
    int dosomethingelse (String s);
}
</code></pre>

<p>some class that implement it is <code>class_of_a</code> etc...
and i want to add an new method in the interface lets say <code>diditwork(int x);</code>
How am i suppose to do that while avoiding the problems of recompiling or whatever problem that might be ? What would be the new hierarchy ?</p>
