There is no emoticon for what I am feeling!
Originally posted by Jeff Albertson:
The term "property" isn't in common usage in Java
Originally posted by Jesper de Jong:
The ".class" for any object and ".length" for arrays are special Java language constructions. The syntax looks the same as for accessing public member variables, but they are not really public member variables.
How Java handles these behind the scenes depends on the implementation of the compiler and the JVM you use, and you don't need to know or worry about how they do it.
There is no emoticon for what I am feeling!
Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peter
Originally posted by Jeff Albertson:
I always thought of length as a public final field. Is that incorrect?
Originally posted by Jesper de Jong:
That's how it behaves in a Java progam, but it is not necessarily implemented behind the scenes in exactly the same way as a public final field.
There is no emoticon for what I am feeling!
Consider Paul's rocket mass heater. |