0

Threads

What is threads in java?

25th Oct 2025, 11:56 PM
100à€°à€­ ツ
100à€°à€­ ツ - avatar
3 Réponses
+ 3
Basically a way of making the computer multitask. Ex a game can load the next level while still running the current level to prevent lag when switching levels
26th Oct 2025, 12:31 AM
Luca
+ 1
A thread is a separate space for independently running programs (tasks) in a system. They run independently at the same time (in parallel), but depending on the programmer's needs, they can share results or data. Or one can pause and wait for the other to finish something.
26th Oct 2025, 10:22 PM
zemiak
0
Threads are used to achieve multitasking in Java program.
27th Oct 2025, 5:13 AM
Abdul Haseeb
Abdul Haseeb - avatar