Question discussion

Which OOP principle allows a derived class to provide its own specific implementation of a method already defined in its base class?

162Medium DSSSB TGT Computer Science 0 replies 2 views
0
Which OOP principle allows a derived class to provide its own specific implementation of a method already defined in its base class?
  • AEncapsulation
  • BAbstraction
  • CMethod overriding (runtime polymorphism)
  • DData hiding
Correct answer: C

Discussion 0

Nobody has replied yet. Start the discussion!