Output of following Java program?
Base Derived Derived
Base Base Derived
Base Derived Base
(D) Compiler Error
Explanation: See question 1 of https://www.geeksforgeeks.org/output-of-java-program-set-2/
Quiz of this Question
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.