Please enable JavaScript to use CodeHS

AP Computer Science A (Mocha)

Lesson 4.9 Method Overloading

Description

In this lesson students will learn about method overloading: writing several different methods, each with the same name. As long as each method’s parameter list is different, method can use the same name multiple times!


Objective

Students will be able to:

  • Describe what method overloading is
  • Explain the purpose of method overloading
  • Create classes that overload methods