Multithreading

Multithreading is a mechanism in which a task or a set of tasks are performed using multiple threads. This results in enhanced throughput of a system. Java also supports multithreading. By default also java programs are run in a thread. That default thread is called ‘main’ thread. Before proceeding let’s see how we can see … Continue reading Multithreading