Concept of MultiThreading in Java

Posted on Updated on

Multithreading is multitasking, in which multiple parts of a program running concurrently. Each of those parts of programs are called thread and each thread defined different path of execution.
Unlike most other programming languages, Java provide built-in support for multithreaded programming.
When we’re discussing about multitasking, then we must discretely its two type-

  1. Process based
  2. Thread based

Read the rest of this entry »