What is the result?
A.
riding riding tolting
B.
riding riding cantering
C.
tolting cantering tolting
D.
tolting cantering cantering
E.
Compilation fails.
F.
An exception is thrown at runtime.
Explanation:
The compilation fails at:
interface Rideable {
public String ride() { return “riding “;}
}
Error due to: interface methods cannot have body.
Verified
The answer is E.
C