- 1 current stop: learning
- 2 upcoming
- 3 upcoming
- 4 upcoming
- 5 upcoming
Finish after stop 5
Stop 1 of 5 · Workshop: labelling the tools
Trick to keep in mind+3 XP
A signature is the name plus the parameter types in order; return type does not count.
Overloading means several methods sharing a name, and Java tells them apart by their parameter lists, by count or by type. Parameter names and the return type are not part of what distinguishes them. Two methods whose parameter types match exactly are duplicates, whatever else differs.
Read it once, then a question tests whether the trick stuck.