what is the parameter
The parameters are used in the method body and at runtime will take on the values of the arguments that are passed in. 1  Note: Parameters refers to the list of variables in a method declaration. Arguments are the actual values that are passed in when the method is invoked. When you invoke a method, the arguments used must match the declaration's parameters in type and order.