java interface problem
<pre><code>interface Block{

    void printblock();
}
interface Block2{
    void printblock();
}
class Impl2 implements Block,Block2{

    @Override
    public void printblock() {
       // TODO Auto-generated method stub
       System.out.println("Impl2");
    }

}
public class Import 
{ 
    public static void main(String[] args) {
        new Impl2().printblock();
    }
}
</code></pre>

<p>Now please say me which printblock method is implementing by the class Import.Its implementing Block interface or Block2 interface?</p>
