About Question enthuware.ocajp.i.v7.2.900 :
Posted: Thu Mar 15, 2012 8:26 pm
This question's exhibit has a compile error in it, so there is something wrong with the code, therefore the answer recorded in the test is incorrect.
I think from the explanation this is just a typo in the exibit - T3's m1() declaration should not have {} after it
interface T1
{
}
interface T2
{
int VALUE = 10;
void m1();
}
interface T3 extends T1, T2
{
public void m1(){}
public void m1(int x);
}
I think from the explanation this is just a typo in the exibit - T3's m1() declaration should not have {} after it
interface T1
{
}
interface T2
{
int VALUE = 10;
void m1();
}
interface T3 extends T1, T2
{
public void m1(){}
public void m1(int x);
}