J
Juggernaut
I cant this to work.
I have already created the objects and such, now I want to fill it up with
random numbers. But I get that a type missmatch where it cant convert from
int to object. Neither can it work with the math.random class, same error
there.
Here is what Im trying to do:
// Fills array with random numbers,
for (int row=0; row < myCalendar.length; row++)
{
for (int col=0; col < myCalendar[row].length; col++){
{
num1 = generator.nextInt(100);
myCalendar[row][col] = num1;}
}
}
I have already created the objects and such, now I want to fill it up with
random numbers. But I get that a type missmatch where it cant convert from
int to object. Neither can it work with the math.random class, same error
there.
Here is what Im trying to do:
// Fills array with random numbers,
for (int row=0; row < myCalendar.length; row++)
{
for (int col=0; col < myCalendar[row].length; col++){
{
num1 = generator.nextInt(100);
myCalendar[row][col] = num1;}
}
}