This repository will teach you the basics of threads.
In programming, we are used to reading code from top to bottom -- a single process program. But in our generation, our processors can handle many processes at any point in time. To use this we have the concept of parallel processing. We can utilize this in Java by using the Thread Class and make a separate process that will run simultaneously with the main thread.
Sources: Threads and Multiprocessing
Just double click on the run.bat
file to compile and run.
Go to your console and find the directory of the run.sh
file and just run the command:
sh .\run.sh