Quantcast
Channel: VBForums - Java
Viewing all articles
Browse latest Browse all 41

What does this mean

$
0
0
In the following if clause what does boolean _tmp = selectedLightBalls[i] == 0 mean

I understand that _tmp is the name of a boolean variable but I do not understand
the = selectedLightBalls[i] == 0

Code:

if(myColor == white){
    boolean _tmp = selectedLightBalls[i] == 0;
}
else
{
    boolean _tmp1 = selectedDarkBalls[i] == 0;
}


Viewing all articles
Browse latest Browse all 41

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>