You're right: parameter variables in a method do work exactly the same way as local variables in that method. Thinking of them as local variables is a good thing to do, too, since they behave exactly like local variables. And you can't have a local variable in a method which has the same name as one of the method's parameters, which pretty much proves that the parameters are in fact local variables.
As for whether you should call them one thing or another, it's best to be clear when you are talking to somebody else. So if you have to mention that you're talking about the parameters of the method, then do so. No point in insisting on a point if it makes something else unclear. I don't recall whether there are official names for those things, but I suppose if I looked in the Java Language Specification I might find out. However it doesn't really matter to me.
(If you're taking an exam where it's important to your score that you use an approved name, that's another thing entirely.)
It states there are four types of variables: instance variables, class variables, local variables, and parameters. This tutorial makes all these variable type seem mutually exclusive (one variable type cannot be another.)
I think parameters and local variables are different. They have many behaviours in common, and they occupy similar scope, but there is one big difference: parameters are definitely assigned. It appears that the ex in something like catch (XYZException ex) is also called a parameter.
Joined: Oct 02, 2009
So can I say with absolute authority then that according to formal Java specifications - Parameter Variables are a different variable type from Local Variables?