Dev Quiz
Sign in
Question 1 of 5
2024-07-27
In Object-Oriented Programming, what is the primary purpose of 'Method Overriding'?
It ensures that objects of derived classes can be treated as objects of their base class.
It allows a single function or method to operate on different data types dynamically.
It enables a subclass to provide a specific implementation for a method that is already defined in its superclass.
It promotes code reusability by allowing common functionality to be shared among multiple classes.
Previous
Next
Complete the quiz to submit