java - How do you create a big array? -


this question has answer here:

i notice when create array, can go size of int since thing accepts. how create 1 fits size of long?

you use two-dimensional array.

e.g.

object[][] objects = new object[integer.max_value][integer.max_value]; 

Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

ruby - Nesting modules inside of a Rails eninge gem -

Eclipse formatter for java ending braces -