I use the following instruction
int[] numList = ArrayUtil.randomIntArray(100, 100);
and i imported
import java.util.*;
therefore, importing the correct class is out of the question here. I'm trying to create an array of 100 numbers and fill the array with random numbers from 1-100, but netbeans places the red line under "ArrayUtil", I look through it with the mouse to read the error, "cannot find the symbol, Symbol: variable ArrayUtil" why this happens when i imported all the necessary classes
thank
source
share