Q Which of these is supported by method overriding in Java?

  • A Abstraction
  • B Encapsulation
  • C Polymorphism
  • D None of these

MCQs Details

You can achieve Runtime polymorphism via Method Overriding. Method Overriding is done when a child or a subclass has a method with the same name, parameters, and return type as the parent or the superclass; then that function overrides the function in the superclass.