+ 1
How to do multi threading in java?
How to simultaneously perform two processes at the same time?
1 Réponse
+ 7
You simply start a new thread and perform the actions in it's run method.
The simultaneous actions can be performed in the main thread that is already running.
See this tutorial:
https://www.tutorialspoint.com/java/java_multithreading.htm