Multiple choice technology programming languages

Each method in a class must have a unique name.

  1. True

  2. False

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

Methods can have the same name if they have different parameter lists (method overloading). The method signature includes the name AND parameter types, so multiple methods with the same name but different parameters are allowed in the same class.