Search:

Type: Posts; User: helloworld922

Search: Search took 0.12 seconds.

  1. Replies
    4
    Views
    2,552

    Re: max length of an array?

    Yes, in both cases you're declaring and initializing a variable. Note that when using an ArrayList, you must use the associated methods to access them (the bracket indexing method doesn't work). For...
  2. Replies
    4
    Views
    2,552

    Re: max length of an array?

    There are two main solutions:

    1. Expand your array as you go.
    2. "Pre-read" to determine exactly how big your array needs to be.

    The most common solution is the 1st one, using the ArrayList...
Results 1 to 2 of 2