0
while not
Can anyone explain the use of this “while not” stuff??
4 Réponses
+ 11
while not X is simply making the loop go on and on when "not X" is true (implying that X is false then).
+ 3
The way i remeber this is when somthing is false or vise versa use ! to make it the opposite value for example
boolean i = false;
boolean j = !i;
so..
i = false and j = true 😉
if somthing is not false then it can only be true.
0
O_o The what meow ?...
//Edit:
"While not stuff" ????
0
the boolean in java beacuse ibject true our false open class