Multiple choice technology programming languages

Signature has to be the same for overloading.

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Overloading requires methods to have different signatures (different parameter lists). Methods with identical signatures would create ambiguity and compilation errors. The statement confuses overloading with overriding - overridden methods MUST have the same signature, but overloaded methods MUST have different signatures.