Inside the JVM: Arrays and how they differ from other objects
What are the advantages of representing multidimensional arrays with pointers to arrays instead of a "flat" version where everything is stored contiguously and access is simply pointer arithmetic?EDIT: For the JVM, not manually. I'm asking about the internal representation, not a manual flattening by the user.