Refer to the exhibit. What is the result of compiling and running the Test class?
The reference type is Vehicle, which does not define drive().
Why this answer
The reference type of the variable `v` is `Vehicle`, and the `Vehicle` interface does not declare a `drive()` method. Since the compiler checks the reference type for method availability, calling `v.drive()` results in a compilation error, even though the actual object is a `Car` that has a `drive()` method.
Exam trap
Oracle often tests the distinction between compile-time reference type checking and runtime polymorphism, trapping candidates who assume that the actual object's methods are always accessible through any reference variable.
How to eliminate wrong answers
Option A is wrong because the error occurs at compile time, not runtime; the accessibility of `drive()` is irrelevant since the compiler cannot find the method on the `Vehicle` reference type. Option B is wrong because the code never compiles, so no output is produced. Option C is wrong because `Car` does implement all abstract methods from `Vehicle` (if any), but the issue is that `drive()` is not defined in `Vehicle` at all, not that it is abstract.