0

I was just writing a programming assignment in Java for a professor that is notorious for giving us ridiculous inputs in an attempt to break the code and I was thinking of a case where the user might require the construction of an array that would go over 2,147,483,647 in size. But it only takes in an int for constructor... While it is unlikely he would do that, just out of curiosity; Is there an array object in Java that would let you do so? or why it doesn't exist if not?

cheriejw
  • 364
  • 3
  • 13

0 Answers0