Journal of Advances in Shell Programming

Multithreading: A Review

  1. Ankit Sharma

Abstract

Java provides support for multithreaded programming. Multithreading is a powerful programming tool that makes java different from other programming languages. Multithreading is basically used in multitasking environment. Threads are lightweight weight process and share the same address space. We can create a thread by two methods: by extending thread class or by implementing runnable interface. Every thread has a life cycle. The stages in which a thread can enter are newborn, runnable, running, blocked and dead state. By multithreading we can write efficient programs that make maximum use of the CPU.Cite this ArticleSharma A. Multithreading: A Review. Journal of Advances in Shell Programming. 2015; 2(3): 1–4p.

Keywords

Support