Search:

Type: Posts; User: Norm

Search: Search took 0.09 seconds.

  1. Replies
    4
    Views
    1,234

    Re: Java Array Merge Input Beginner Question

    This would be better:

    for(int j = arrayOne.length; j < mergedArray.length; j++)
    mergedArray[j] = arrayTwo[j-arrayOne.length]
    Don't hard code magic numbers. Use variable values. What if the...
  2. Replies
    4
    Views
    1,234

    Re: Java Array Merge Input Beginner Question

    Please post the program's input and output that shows what it did and what didn't work the way you want.

    A useful method for debugging with arrays:

    System.out.println("an ID "+...
Results 1 to 2 of 2