Q. 27
Given the following classes defined in separate files:
What will be the effect of compiling and running this class
Test?
Generates a Compiler error on the statement v= c;
Generates runtime error on the statement v= c;
Prints out:
Vehicle: drive
Car: drive
Car: drive
Prints out:
Vehicle: drive
Car: drive
Vehicle: drive
Select the most appropriate answer.
[This message has been edited by Marilyn deQueiroz (edited October 16, 2001).]