java - How do you create a big array? -
this question has answer here:
- java array more 4gb elements 11 answers
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
Post a Comment