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
Francisco<br />SCJP<br />please use the [code][/code] tags when showing code.Click <a href="http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=ubb_code_page" target="_blank" rel="nofollow">here</a> to see an example.
posted 14 years ago
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 ]