The following information was extracted from
web page interface I {
void setValue(int val);
int getValue();
}
Are my following explaination exactly correct? Just wanted to
test my concept on this.
Alternatives C to E are completely out of the choice because "implements" requires exact methods defined in the interface class.
But why A is wrong .. ?
Is it because what Barry has mentioned? "Do not forget that a class can only extend one other class (abstract or not) whereas "
Thanks,
k
[ September 16, 2004: Message edited by: Kay Liew ]