Search:

Type: Posts; User: Norm

Search: Search took 0.13 seconds.

  1. Replies
    3
    Views
    1,513

    Re: Method return value(s)

    If you do NOT know how many items will be input, then you'd better use an ArrayList.
    When using an array you have to give it a fixed size when you define it. An ArrayList will grow as needed.
  2. Replies
    3
    Views
    1,513

    Re: Method return value(s)

    To return more than one value, you will have to package them into an array, a class or some kind of collection that you can return.
    Or call the method multiple times with the information that it...
Results 1 to 2 of 2