M
mnml
Hi,
I am trying to make a if loop using a Int value contained in an Array
'array2D[a][a]'
if(array2D[a][a]==0)
dosomething();
I would like to know how I can define the content as an Integer in
that case;
The error message:
../myDisplay.java:52: incomparable types: java.lang.Object and int
if(array2D[a][a]==0)
^
Thanks
I am trying to make a if loop using a Int value contained in an Array
'array2D[a][a]'
if(array2D[a][a]==0)
dosomething();
I would like to know how I can define the content as an Integer in
that case;
The error message:
../myDisplay.java:52: incomparable types: java.lang.Object and int
if(array2D[a][a]==0)
^
Thanks