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

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
ETS User

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

Post 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?

Guest

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

Post by Guest »

Sorry I think I got it

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests