Roel De Nijs wrote:
As a side note: These explanations are very weird. It seems that they should belong to another question, because this question has nothing to do with inheritance, but (based on A & B) with (in)valid implementations of an interface.
You are right. The software indicated me that I was wrong and the explaining was a little strange.
I found a nother strange question:
Question Java 7's Garbage-First (G1) garbage collector is planned as the long-term replacement of
which collector?
Correct Answer D: Concurrent Mark-Sweep (CMS) Collector
References EXPLANATION: D is correct. Java 7's Garbage-First (G1) garbage collector
is planned as the long-term replacement of the Concurrent Mark-Sweep (CMS) collector.
A, B, and C are incorrect. A is incorrect because the G1 collector is replacing the CMS Collector,
not the Serial Collector. B is incorrect because the G1 collector is replacing the
LearnKey, Inc. Copyright 2006, All Rights Reserved.Page 6
CMS Collector, not the Parallel Collector. C is incorrect because the G1 Collector is replacing the CMS Collector, not the Parallel Compacting Collector.
REFERENCES: See Finegan, Edward and Robert Liguori. "OCA Java SE 7 Programmer I Study Guide (Exam 1Z0-803)." New York, McGraw-Hill, 2012.
Chapter 5: Understanding Methods and Variable Scope
OBJECTIVE: Understand Variable Scope
----------------------------
The answer could be right, but I didn't find any reference about the CMS in this book.
If someone would find I will be grateful if show me where it is.
Thanks.