Java View all facts Glossary Help |
mechanism > method name overloading |
method name overloading (method overloading) | ||||
subject | fact |
method name overloading | has definition A mechanism that allows several methods to have the same name as long as they have different method signatures | |
does not consider the return type when differentiating between overloaded methods | ||
has example // Two methods have the same name and the same number of parameters | ||
is a subtopic of Methods | ||
is a kind of mechanism | ||
makes it possible for methods to behave differently depending on the arguments they receive | ||
is a synonym of method overloading |