I'm wondering about the level of trickery that takes place on the
SCJP 5.0 exam. I am using the K&B SCJP 5 Study Guide. Can someone (hopefully one of the exam writers) tell me whether the exam would ever do something like this (as the book does)?
Given the following class and interface declarations (from the Exam Watch section, Ch 2, p. 121):
...
interface Fi { }
interface Fee implements Baz { }
...
Which of these are legal declarations:
...
class Zoom implements Fi, Fee { }
interface Vroom extends Fi, Fee { }
...
In the book, it says that the latter two declarations are legal, but since the Fee interface declaration is not a legal declaration, the latter two declarations are not technically legal. I understand that the book is just trying to show multiple implements and extends, however, I would like to know whether the exam would ever pose a question like this without the context of the answer being made clear.
Thanks.
-Mark
[ November 13, 2006: Message edited by: Mark Allenb ]
[ November 13, 2006: Message edited by: Mark Allenb ]