Does java has when(not while) loop? I pretty sure it doesn't. I probebly able to make one, but I dont want to make a new class or methoswhich already exist. Once again its when, not while.
2006-10-12
09:18:26
·
3 answers
·
asked by
Anonymous
in
Computers & Internet
➔ Programming & Design
lol thats true, i can right if statment, but I wont do like, i mantion that loop one time in program and whenever happens what I said in when loop will happen. For Example, When(pressedX()){dothis();} , So whenever I press X it will do whatever I have mantioned in dothis() . I know Its a difficle que, but thanks for answering.
2006-10-12
14:57:19 ·
update #1