Quote Originally Posted by Shana View Post
In any programming language, parameters are the ones you define at function prototypes and the arguments are the ones which you pass a value to a parameter.

Eg: int foo(String x) //here String x is a parameter
{//some code}

If you call "foo("fooarg"), here fooarg is the argument you passed to the parameter String x.
Thank you so much for explaining it with examples, I get a clear understanding