Can I call variables to the method parameters when I use them in my method?

advertisements

When I declare a method with parameters, and inside my method I assign value to those parameters, those parameters turn into variables?

My question is, can I Say: "The parameter of my method is also a variable when I use it inside my method"?

Example:

public int returnDays(int month)
{
month = getMonth();
//"Can I say : month is a variable?"

}


//"Can I say : month is a variable?"

yes it is a local variable to that method.

Official docs on passing arguments