Last updated: Feb 22, 2022

Multithreading in Java

Multithreading is a programming concept in which the application can create a small unit of tasks to execute in parallel. If you are working on a computer, it runs multiple applications and allocates processing power to them. If the programming language supports creating multiple threads and passes them to the operating system to run in parallel, it’s called multithreading.
Multithreading in Java MEDIUM
Multithreading in Java is a process of executing multiple threads simultaneously to perform tasks concurrently, improving application performance
Life Cycle Of A Thread in Java EASY
Java Thread Life Cycle defines the stages a thread passes through — New, Runnable, Running, Blocked, Waiting, Timed Waiting, and Terminated.
Thread class in Java MEDIUM
Learn how to create a thread in Java by implementing Runnable or extending Thread, and understand the run method to define thread behavior effectively.
Thread scheduler
In this article, we will discuss the Thread scheduler, thread, scheduling, and process.
Multiprocessing in Java EASY
In this article, we will discuss multiprocessing, its advantages and disadvantages, and how to implement it in Java with examples.
Thread Pool in Java EASY
Learn what Thread Pool in Java is, how it works, and its benefits. Explore types, working, and examples to implement efficient multithreading in Java.
Thread.sleep() in Java EASY
In Java, Thread.sleep() is a method used to pause the execution of the current thread for a specified period. It is typically used to introduce a delay in a program.
Difference between Multithreading and Multitasking in Java EASY
In this article, we will discuss the differences between multitasking & multithreading in Java, their advantages, disadvantages, & key distinctions.
Start() method in thread
This article shall cover the Java Thread start() method and its syntax and implementation.
Java ThreadPoolExecutor MEDIUM
ThreadPoolExecutor simplifies the handling of threads by reusing a fixed number of threads and managing tasks efficiently. This results in better performance and resource utilization.
Types of Threads in Java MEDIUM
In this article, we will talk about the different types of threads available in Java & their characteristics. We will also discuss the benefits of multithreading with proper code examples.
Shutdown Hook
The article covers the implementation and core principle of shutdown hooks which are available in Operating systems
Difference between run() and start() method
The article covers the difference between the run and start() methods
Perform single task by multiple threads
This blog will cover how to perform a single task using multiple threads.