Results 1 to 2 of 2
  1. #1
    Hasan is offline Member
    Join Date
    May 2007
    Rep Power

    Default Maximum size of an array

    What is the maximum size of an array?

  2. #2
    levent Guest


    Theoretically the maximum size of an array will be Integer.MAX_VALUE.

    Practically it depends on how much memory your VM has and how much of that has already been allocated to other objects ...

Similar Threads

  1. Changing size of Array
    By ravian in forum New To Java
    Replies: 3
    Last Post: 06-05-2012, 09:17 PM
  2. Doubling the size of an array
    By Java Tip in forum java.lang
    Replies: 0
    Last Post: 04-14-2008, 09:42 PM
  3. Array size declaration
    By JT4NK3D in forum New To Java
    Replies: 3
    Last Post: 01-18-2008, 11:37 PM
  4. Replies: 2
    Last Post: 07-03-2007, 05:09 PM
  5. get the average and maximum score
    By Eric in forum Advanced Java
    Replies: 2
    Last Post: 07-01-2007, 05:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts