A-Level Computer Science Practice Questions - A-Level Computer Science Exam

Access More Questions
A class Shape has a method area(). Classes Circle and Rectangle both inherit from Shape and define their own area() methods. Calling shape.area() executes the correct version at run-time based on the actual object type. This is an example of which concept?
Correct Answer:
Dynamic (run-time) polymorphism

Access more questions from this quiz

Continue to A-Level Computer Science Practice Questions - A-Level Computer Science Exam for more practice questions and the full quiz experience.

Access More Questions