Where can I find the source code for Java arrays? [closed]

Solution 1:

Have a look at this for an explanation. But basically the array type is built-in to the jvm and you need to analyze the source code for the jvm you are running in order to truly know how it works.

Solution 2:

Here is the javadocs for java.util.Arrays and here is the implementation of java.util.Arrays in openjdk. Google Code search is a good way to go about it.

UPDATE 1: Link updated. Posted the wrong link.

UPDATE 2: As pointed out by thilo, the jvm implementation of Array is here