0
What is Multi threading in java....?
Explain in detail
4 Réponses
+ 4
Imagine that when you run your program, it only has one hand to accomplish tasks with. Now imagine that you added another hand - now it has two hands to complete tasks with. Now imagine that you keep adding more and more hands to it, you're able to accomplish multiple tasks simultaneously by having each hand working on something different at the same time.
Threads are basically like the hands. They're additional processes inside of the program's process.
+ 3
see output of my code on multithreading ......u will get the perfect idea how our processor works.....and what is multithreading..
0
Okk got it thank you