B4Coder
0%
LessonAbout 5 min

Chapter 7 · Lesson 4 of 5

04. Same name, different values: overloading

Two methods can share a name if their parameters differ. Java picks the one that matches the values you call it with.

Opening the lesson…