How many array dimensions are supported in Java, such as [1] [1] [1]… [1]?
There is already an answer to this question: > maximum number of dimensions in a Java array3
Solution
The array dimension is limited to 255
Interestingly, there is no such restriction in the Java programming language defined by JLS, but you can see in the JVM specification that the array dimension is stored in 1 byte
However, you can hardly meet this limitation in daily development
The above is how many array dimensions are supported in Java collected by programming house, such as [1] [1] [1]... [1]? I hope this article can help you solve how many array dimensions are supported in Java, such as [1] [1] [1]... [1]? Program development problems encountered.
If you think the content of the programming home website is good, you are welcome to recommend the programming home website to programmers and friends.