posted 5 years ago
84. What is the output of the following application?
Answer:
D. One line of code does not compile.
But the answer should be:
E. Two lines of code do not compile.
MyElectricBass class is also inheriting the problem from the ElectricBass class.
By compiling this code we can see the 2 compilation errors showing up:
Regards,