Question No. 2 asks what the result is of the following code, and has a radio button to check an answer.
An error that I see is that this code sample have code lines from 1 to 10, which means it's all one file.
Per file, in
java, there can be only one "public" class/interface which results in compile error on line 4 and 5 as well, since the interface and abstract class are declared as "public".
Plus, line No.8 doesn't compile for two reasons, concrete class doesn't override abstract climb method (what makes E as correct answer based on the explanation), and it as well starts with "public"
Please correct if I'm off course, thanks!