August 2003
Intermediate to advanced
672 pages
16h 23m
English
Review Questions |
| 7.6 |
Which statement is true?
Select the one correct answer.
|
| 7.7 |
Given the declaration
interface IntHolder { int getInt(); }
which of the following methods are valid? //----(1)---- IntHolder makeIntHolder(int i) { return new IntHolder() { public int getInt() { return i; } }; } //----(2)---- IntHolder makeIntHolder(final int i) { return new IntHolder { public ... |
Read now
Unlock full access