Is there a possability that method executes only once
Posted
by Gandalf StormCrow
on Stack Overflow
See other posts from Stack Overflow
or by Gandalf StormCrow
Published on 2010-04-19T08:05:36Z
Indexed on
2010/04/19
8:13 UTC
Read the original article
Hit count: 151
java
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
© Stack Overflow or respective owner