how to set a infinite loop and break it. (Java threads)
- by Nubkadiya
i have set a thread and i want to run it using a loop. so this thread should run in the loop and break in a certain time and again run the loop.
please i have no clue how to do this. can someone guide me.