Page 1 of 1

About Question com.enthuware.ets.scjp.v6.2.386 :

Posted: Sat Dec 01, 2012 10:15 am
by ETS User
I think that something is wrong with this question.
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; } }
I do not see anything about interface IHello2 , iHello2 or class Hello.
is something missing in this question?

Re: About Question com.enthuware.ets.scjp.v6.2.386 :

Posted: Sat Dec 01, 2012 10:16 am
by Guest
Sorry I think I got it