Search:

Type: Posts; User: curmudgeon

Search: Search took 0.10 seconds.

  1. Thread: Java array

    by curmudgeon
    Replies
    3
    Views
    1,137

    [SOLVED] Re: Java array

    Yep, only if you tell it to do so:



    Catapult(double[] speedCat , int []angleCat)
    {
    speedV= speedCat;
    speed = new double[speedCat.length];
    // .... etc...
  2. Thread: Java array

    by curmudgeon
    Replies
    3
    Views
    1,137

    [SOLVED] Re: Java array

    Check to see what variable is null on that line. Once you've done this and then looked in your code to see where you've initialized that variable, the problem and solution will become obvious.
Results 1 to 2 of 2