Could someone help me figure out why is this giving me a "null error" @ speed[counter] = speedV[counter] ; Thanks
private double [][] proDistance; private double[] speed; private double [] speedV; private int [] angle; Catapult(double[] speedCat , int []angleCat) { speedV= speedCat; angle = angleCat; proDistance = new double [speedCat.length][angleCat.length]; } public void mphToMps() { for(int counter = 0 ; counter < speedV.length;counter++) { speed[counter] = speedV[counter] ; } }