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

    Default Maximum size of an array

    What is the maximum size of an array?

  2. #2
    levent Guest

    Default

    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, 08:17 PM
  2. Doubling the size of an array
    By Java Tip in forum java.lang
    Replies: 0
    Last Post: 04-14-2008, 08:42 PM
  3. Array size declaration
    By JT4NK3D in forum New To Java
    Replies: 3
    Last Post: 01-18-2008, 10:37 PM
  4. Replies: 2
    Last Post: 07-03-2007, 04:09 PM
  5. get the average and maximum score
    By Eric in forum Advanced Java
    Replies: 2
    Last Post: 07-01-2007, 04: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
  •