Search:

Type: Posts; User: destinedtale

Search: Search took 0.11 seconds.

  1. Replies
    3
    Views
    998

    Re: Java enquiry!!

    Thanks for replying. I had checked the java operator and they're the same?

    quote from java website link you posted
    equality == and !=
  2. Replies
    3
    Views
    998

    Java enquiry!!

    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,...
Results 1 to 2 of 2