News

This eliminates the risk of introducing length-related bugs into your code, should you later change the array’s length in its creation code. Compile Listing 2 as follows: javac ArrayIsObject.java ...