Generally a parameter is what appears in the definition of the method. An argument is the instance passed to the method during runtime.
You can see a description here: http://en.wikipedia.org/wiki/Parameter_(computer_programming)#Parameters_and_arguments
More Related Contents:
- foo(int) is not applicable for the arguments (String)
- Does Java support default parameter values?
- What are the -Xms and -Xmx parameters when starting JVM?
- Http Servlet request lose params from POST body after read it once
- What is “String args[]”? parameter in main method Java
- varargs and the ‘…’ argument
- Java variable number of arguments for a method
- Netbeans how to set command line arguments in Java
- How to get arguments passed to method that called this method?
- Java “params” in method signature?
- How to get the parameter names of an object’s constructors (reflection)? [duplicate]
- Embed a 3rd-party JApplet in a Swing GUI & pass it parameters
- Proper usage of Java -D command-line parameters
- Making java method arguments as final
- What is the “String args[]” parameter in the main method?
- Having a Column name as Input Parameter of a PreparedStatement
- Passing function as a parameter in java
- Why can we use ‘this’ as an instance method parameter?
- Why varargs should be the last in a method signature?
- Maven: How to run a .java file from command line passing arguments
- The builder pattern and a large number of mandatory parameters
- “Actual or formal argument lists differs in length”
- method in class cannot be applied to given types
- How do I pass a class as a parameter in Java?
- Specifying JVM arguments when calling a jar file?
- Spring data JPA and parameters that can be null
- Can there exist two main methods in a Java program?
- Why does this generic java method accept two objects of different type?
- Gradle task – pass arguments to Java application
- Spring MVC How take the parameter value of a GET HTTP Request in my controller method?