Thanks for replying. I had checked the java operator and they're the same?
quote from java website link you posted
equality == and !=
Type: Posts; User: destinedtale
Thanks for replying. I had checked the java operator and they're the same?
quote from java website link you posted
equality == and !=
for(int i=0;i<20;i++){
if(i>randomPosition -4 && i<randomPosition +4 && i!=randomPosition) i don't understand this part. Especially when i change to != to ==, the code will run wrongly,...