Programmer 4 life :
I don't know how to do this, what i am trying to do is running a for loop and still can do other things like reading input from user,change files contents, etc...(you get the idea) while the loop is running, is there any way to do it? Btw i am using java
x blade :
You can create a new Thread for the task you want to do separately while the loop is running.
Thread t = new Thread(() -> {
//your code here
});
t.start();
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=374353&siteId=1