How does array work? How to create a basic array data structure using java? [closed]

Java is not a good platform for exploring this, and in fact I don’t know any high-level languages that are (not even C). The structure is so basic that the manipulation of it is built into the languages themselves, and they don’t really have constructs for implementing it (again).

Try assembler, either a real assembler (i.e., specific to some real CPU) or an assembler based on a virtual machine of some sort (Knuth’s, perhaps — was it called MIX?). Then you can deal with the issues of an allocated contiguous memory space, indexed by the number of bytes in each element of the array.

Leave a Comment