Glossaria.net

Glossary Object Oriented Analysis and Design / Term

Overload

A technique where many different methods are defined with the same name, but with different formal parameters. Thus, a class could define an add method that added strings to its store and another method, also called add, that added integers to its store. This technique can lead to confusing API designs and should be used sparingly.

Permanent link Overload - Creation date 2023-02-22


< Origin State Glossary / Object Oriented Analysis and Design Overloaded Method >