Is there a possability that method executes only once
- by Gandalf StormCrow
I have a for loop and structure like this :
for(....)
....
....
if(isTrue)
... do something..
.. method to be executed once (doTrick) is declared outside for loop.
....endif
endfor
public void doTrick()
...
...
..end
Is it possible for a method in for loop to be executed only once? I'm using JAVA