0
What are thread?how threads can be handled?
definition,thread creation and handling
1 ответ
0
A thread is like a independent worker. When you define multiple threads you can use multiple workers in your program. This can, of course, become a problem when things have to be executed in a certain way or synchronised.
ONLY use threads if you are really sure you know how and when to use them. They can be your friend, but a misuse can become a nightmare.
(Just Google on: Java Multithreading and Java Threads. Stuff like that. )