Java - double definition in two interfaces
<p>Class A can implement multiple interfaces.</p>

<p>What I do not understand is what happens in this case:</p>

<pre><code>public interface example1 {
    void checkInt(int a);
}

public interface example2 {
    void checkInt(int b);
}

public class class1 implements example1,example2 {
    void checkInt(int c){
        System.out.print(c);
    }
    this.checkint(5);
}
</code></pre>

<p>I tried to run it, and it gives me compilation errors. But my question is in general, can I implement two interfaces, that have a functions with the same signature?</p>
