About Question com.enthuware.ets.scjp.v6.2.386 :
Posted: Sat Dec 01, 2012 10:15 am
I think that something is wrong with this question.
is something missing in this question?
I do not see anything about interface IHello2 , iHello2 or class Hello.Given:
interface IHello
{
public int hello(int x, int y);
public long hello(long x, long y);
}
Which of the following options are valid
1 interface IHello2 extends IHello{ }
2 interface iHello2 implements IHello{ }
3 abstract class Hello implements IHello{}
4 abstract class Hello implements IHello{ public short hello(short a, short b){ return 0; } }
5 abstract class Hello implements IHello{ public short hello(int a, int b){ return 0; } }
is something missing in this question?