What is the output of the ElectricCar program? A. Driving vehicle B. Driving electric car C. Driving

Question:

What is the output of the ElectricCar program? 

image text in transcribed

A. Driving vehicle

B. Driving electric car

C. Driving car

D. The code does not compile.

E. The code compiles but produces a ClassCastException at runtime.

F. None of the above.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: