While after the fact, I can see what we mean here, I was truly perplexed as to what to put down for a couple of answers, not because I didn't know how Java works, but because of terminology:
Question 6 tb584704.JaSE11PrgISG.be2.67
Which statements about inheritance are correct? (Choose all that apply.)
A. A class can extend multiple interfaces.
B. Java supports multiple inheritance of parent classes.
C. A class inherits at most one class.
D. An interface may extend multiple interfaces.
E. A class can extend multiple classes.
F. A class can implement multiple interfaces.
You Answered Incorrectly.
Classes do not extend interfaces, but they can implement multiple interfaces, making option A incorrect and option F correct. Java supports single inheritance of objects, making option B incorrect and option E incorrect. While Java supports single inheritance, a class can inherit multiple classes. For example, RuntimeException inherits Exception, which inherits Error, and finally Object. For this reason, option C is incorrect. An interface can extend multiple interfaces, making option D correct.
Let's say I am fine with A being wrong and F being correct.
I found the terminology being used to make B False, but also C False, and E False as well to be weird or unexpected.
Some other presentations, including possibly your book, will say "Directly Extend one/more than one class" for true/false there.
If we said "a declaration of a class can directly extend one class" TRUE or "a declaration of a class can directly extend more than one class" FALSE
or "a declaration of a class can directly implement more than one interface" I'd buy those, but since Java 5, the following things that people should know make it confusing as to which answer to pick there:
The type Double, for instance, extends both Object and Number, for sure:
jshell> List<? extends Object> lol = new ArrayList<Double>()
lol ==>