Campbell Ritchie wrote:Please don't say "class variable" unless you mean "static field". You probably would do better to use the proper jargon: "instance field." That would remove any confusion about whether it is static or not.
Duly noted. I should use the right words, that is indeed important. Anyways, my point was not so much the type of variable, but where it is defined, in the class as opposed to in the method, but you are right.
Anyways, not to quibble, but Sun uses the terminology class variables and static fields as meaning the same thing, associated with the class. And they tend to use the term instance
variable for the other kind. I assume that's ok here.
http://java.sun.com/docs/books/tutorial/java/javaOO/classvars.html
regards.