ISC · Computer Science · Inheritance and Polymorphism
Practice question
3 marksOriginal Khojo Papers practice question written to the ISC Computer Science syllabus — not from a past board or specimen paper.
A class B extends class A, and both define a method show(). If A a = new B(); a.show(); is executed, which version runs and why?

