Multiple inheritance through interface
<p>Lets assume i have 2 interfaces </p>

<pre><code>interface A {

    public static final int CONSTANT1 = 6;

}

interface B {

    public static final int CONSTANT1 = 7;
}

class MYclass implements A, B {

    public static void main(String[] args) {

        System.out.println(CONSTANT1);//&lt;- ??

    }
}
</code></pre>

<p>Which constant will get printed or is it compilation error?</p>
