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 extends the concept of multitasking, where operations within an application are divided into individual threads.
Life Cycle Of A Thread EASY
In this blog, we shall cover the life cycle of a thread.
Creating a Thread in Java
 In this blog, we will discuss Creating a Thread, Java.lang.Runnable interface and Java.lang.Thread class.
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
In this article, we will learn what Thread Pool is, how it works, & its benefits in Java programming. We will also look at some code examples to understand its implementation better.
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.