Read this tutorial. It reviews how to declare and name a method in Java. It also discusses how to overload a method within a class.
Read this chapter, which reviews method parameters and local variables, as well as method overloading and method signature.
Method overloading means two or more methods have the same name but have different parameter lists: either different number of parameters or different types of parameters. When a method is called, the corresponding method is invoked by matching the arguments in the call to the parameter lists of the methods.
The name together with the number and type of the parameter list of a method is called the signature of a method. The return type itself is not part of the signature of a method.
Complete the fill in the blanks exercise. Think of the correct response to fill in the blank, or write your answer down on a separate piece of paper. Then, click on the blank to reveal the correct answer.