your question makes no sense. first of all, there are no global variables in Java. I assume you are talking about instance variables.
also: your code doesn't make sense.
In your constructor, you assign the value name to a non-existing variable holdingName. why? because that's the name of the parameter you use in setName?
you don't need the setter to set the value in a constructor. just put 'this.name = name;' and you're set.
what exactly is it that you mean, if this doesn't answer your question?
Sorry M4.... but that post makes absolutely no sense at all. When posting about Java please use standard Java terminology. If you are not sure, check in the Java Language Specification to see what the correct terms are.
when you said: "Global" you meant: instance variable.
when you say "local to any point in the class", you are saying two very different things: local and any point in the class.
there are two kind of variables which are available "everywhere" in the class, being an instance variable and a static variable, but they 're not global variables, nor are they "local". a local variable is a variable declared within a method (or even within a loop) and is only known within that method (loop, ... )