Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

maximum array dimension

 
Francisco A Guimaraes
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anybody know if there is a limit to the number of dimensions([][][]...) an array can have? I looked in the JLS in chapters 10 and 15 but couldn�t find a definitive answer.
Francisco
 
Jon Strayer
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can think of no reason there would be in the language. It's possible that there is some limitation in the class file format or JVM. But as far a s the language goes there isn't any limit to the number of dimensions.
[ February 04, 2003: Message edited by: Jon Strayer ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic