What does 'new' keyword do when used as a modifier for a method (inheritance)?

  1. Adds a Reference to the parents class method

  2. it only hides the parent class method

  3. it overrides the parent class method

  4. None

  5. All the Above


Correct Option: B

Find more quizzes: