Difference between Arguments vs Parameters?
In this post, You are going to see the difference between Arguments & Parameters in programming languages. it is quite important to understand and it sometimes brings you out in the confusing situation between this. So I will make you clear about it.
Parameter:
A Parameter is a variable in a method definition.
Arguments:
When a method is called, the arguments are the data you pass into the method's parameter.
Let's take a simple example to understand more clearly,
In the above example,
MyMethod is a method name and myParameter is a parameter with String datatype which is passed for the function to use.
myArgument is an argument that has the String value/data "GeeksGetPlaced" to the myMethod function.
I think you understand the basic differences between Arguments & Parameters.

0 Comments