This week's book giveaway is in the NodeJS forum. We're giving away four copies of Serverless Applications with Node.js and have Slobodan Stojanovic & Aleksandar Simovic on-line! See this thread for details.
Paul Anilprem wrote:So a final variable is not a variable but a property?
Didn't say that at all.
It could be "field" as well. Or I could even agree with "instance variable" because every array is an Object and it has a public instance variable length (although I think this could be really confusing for some readers). But if I read "the length variable", I expect to see something like
Well, the sentence in question is in reference to the code given just above it. The code contains numbers.length. It does look like a variable to me. Indeed, if you had a class with an instance variable or a "field" named length and a variable named numbers, this is exactly how you would use it i.e. numbers.length.
I was thinking that you are objecting to the word variable for length because it cannot be changed. Now it looks like you are objecting because it is not defined like int length = 5? May be I'm not understanding you correctly.