Multiple choice technology programming languages

A method can not have the same name as another method in the same class.

  1. True

  2. False

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

Methods in a class can share the same name through method overloading, as long as they have different parameter lists (signatures). The compiler distinguishes them by the number, types, and order of parameters. The statement is false because method overloading is a fundamental feature of object-oriented programming.