Question: Is this an example of method overloading or overriding?

  1. neither
  2. both
  3. overloading
  4. overriding

Answer: The correct answer of the above question is Option B:both