please don't mind this is just a simple question on array length property. As a beginner in Java I came across Constants and final keyword, which is described as:
Constants are non-modifiable variables, declared with keyword final. Their values cannot be changed during program execution. Also, constants must be initialized during declaration. For examples:
final double PI = 3.1415926; // Need to initialize
I have read nearly all the related posts, but I have a confusion about its initialization. I've tried to dive into its class using Netbeans IDE but it's implementation was not visible there.
What about the length field to get the length of an array?
http://docs.oracle.com/javase/specs/jls/se7/html/jls-10.html#jls-10.7
How and when it is initialized (runtime/compiletime)?