πŸ“’ Too many exams? Don’t know which one suits you best? Book Your Free Expert πŸ‘‰ call Now!

  • google app store apple app store
  • βœ–

      Question

      In OOP, what is meant by

      "overriding"?
      A Defining multiple methods with same name Correct Answer Incorrect Answer
      B Providing new implementation of inherited method Correct Answer Incorrect Answer
      C Hiding data Correct Answer Incorrect Answer
      D Writing code again Correct Answer Incorrect Answer
      E Binding functions early Correct Answer Incorrect Answer

      Solution

      Overriding means redefining a base class method in a derived class with the same signature.

      Practice Next
      ask-question