Monday, April 8, 2013

Programming Tip: Parameters vs Arguments

In this post I would like to share what my teacher once taught me about why Parameters are not same as Arguments. Consider a simple example of a paper-form where you have to write things to submit a certain request. Each form-field is a parameter and what you write in that field is an argument.

So Parameter a placeholder to hold some value in order to process the method call and Argument is the value that is passed by the caller of your method.

If you have further information on this subject or what you know is different, please drop a line in the comments section.