saravanan
what is multi-threading .?
1 Answer(s)      4 years and 2 months ago
Posted in : Java Interview Questions

what is multi-threading.what is the use in real time, with example programs.

Advertisement
View Answers

March 1, 2011 at 10:36 AM


Java Multithreading

Multithreading is a technique that allows a program or a process to execute many tasks concurrently (at the same time and parallel). It allows a process to run its tasks in parallel mode on a single processor system

In the multithreading concept, several multiple lightweight processes are run in a single process/task or program by a single processor. For Example, When you use a word processor you perform a many different tasks such as printing, spell checking and so on. Multithreaded software treats each process as a separate program.

For more information, visit the following link:

Java Multithreading