Moderate

Methods that have same name, but different Parameter list and different definition known as_________________?

Correct answer: B. Overloading

  • A. Overriding
  • B. Overloading
  • C. Constructor
  • D. none of these

Explanation

Overloading means defining methods with the same name but different parameter lists, allowing different inputs to select different implementations. Overriding instead replaces an inherited method with the same signature in a subclass.

Last updated

Practise Software Design and Architecture

493 free Software Design and Architecture MCQs from Software Engineering, each with the correct answer and an explanation. Unlimited attempts, no account needed.

Exams that ask Software Engineering questions like this

Software Engineering is on this paper prepared for on TestUstad, and all of them draw the same bank, so this question is worth knowing for it.

Related questions