Tutorials
Courses
Go Premium
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
32.1K+ articles
Java
9.3K+ articles
Misc
7.8K+ articles
Difference Between
3.1K+ articles
Java Programs
1.5K+ articles
java-basics
331+ articles
Interview Questions
146+ articles
Java-Output
54+ articles
java-advanced
47+ articles
Java-Networking
45+ articles
Java-Multithreading
93 posts
Recent Articles
Popular Articles
run() Method in Java Thread
Last Updated: 18 December 2024
The run() method is available in the thread class constructed using a separate Runnable object. Otherwise, this method does nothing and returns. We can call the run() meth...
read more
Java
Picked
Java-Multithreading
How to Check if a Thread Holds Lock on a Particular Object in Java?
Last Updated: 29 October 2021
Java language is one of the most popular languages for many years. One of the most advantageous features of java programming is Multithreading. Multithreading allows execu...
read more
Java
Java Programs
Picked
Java-Multithreading
Importance of Thread Synchronization in Java
Last Updated: 23 July 2025
Thread synchronization in Java is important for managing shared resources in a multithreaded environment. It ensures that only one thread can access a shared resource at a...
read more
Java
Java-Multithreading
Java Multithreading Interview Questions and Answers
Last Updated: 23 July 2025
Java Multithreading lets developers run multiple tasks at the same time, making apps faster and more responsive. Java is used by over 10 million developers on 15 billion d...
read more
Java
Java-Multithreading
Interview-Questions
Interview Questions
Why Thread.stop(), Thread.suspend(), and Thread.resume() Methods are Deprecated After JDK 1.1 Version?
Last Updated: 29 July 2021
The Thread class contains constructors and methods for creating and operating on threads. Thread is a subclass of Object that implements the Runnable interface. There are ...
read more
Java
Java-Multithreading
Java Program to Demonstrate the Lazy Initialization Thread-Safe
Last Updated: 23 July 2025
Java is a popular object-oriented programming language used by developers and coders for website/app development. The creation of a class object using a new keyword is ref...
read more
Java
Java Programs
Picked
Java-Multithreading
Java Program to Demonstrate the Non-Lazy Initialization Thread-Safe
Last Updated: 26 July 2021
Java is one of the most popular Object-Oriented programming languages offered by Oracle which has a wide range of applications in website and application development explo...
read more
Java
Java Programs
Picked
Java-Multithreading
Java Program to Demonstrate the Lazy Initialization Non-Thread-Safe
Last Updated: 23 July 2025
In recent years object-oriented programming has formed the pillars/bases of Website and Application (Software) Development. Java and Python are popular Object-Oriented pro...
read more
Java
Java Programs
Picked
Java-Multithreading
wait() Method in Java With Examples
Last Updated: 23 July 2025
Inter-Thread communication is a way by which synchronized threads can communicate with each other using the methods namely wait(), notify() and notifyAll(). wait() method ...
read more
Java
Picked
Java-Multithreading
Java Program to Create a Thread
Last Updated: 23 July 2025
Thread can be referred to as a lightweight process. Thread uses fewer resources to create and exist in the process; thread shares process resources. The main thread of Jav...
read more
Java
Java Programs
Picked
Java-Multithreading
Using Semaphore to Protect More than One Copy of a Resource in Java
Last Updated: 04 August 2022
A semaphore work on the concepts of permits. A semaphore is initialized with a certain number of permits. The number of permits is equal to the number of shared resources ...
read more
Java
Picked
Java-Multithreading
How to Solve Deadlock using Threads in Java?
Last Updated: 23 July 2025
If two threads are waiting for each other forever such type of infinite waiting is called deadlock in java. Synchronized keyword is the only reason for deadlock situation ...
read more
Misc
Java
Java Programs
Java-Multithreading
How to Monitor a Thread's Status in Java?
Last Updated: 23 July 2025
The Java language support thread synchronization through the use of monitors. A monitor is associated with a specific data item and functions as a lock on that data. When ...
read more
Java
Java Programs
Picked
Java-Multithreading
Using Busy Spinning as Wait Strategy in Java
Last Updated: 02 November 2022
Busy Spinning is a wait strategy in which one thread waits for some condition to happen which is to be set by some other thread. Here the waiting thread loops continuousl...
read more
Java
Picked
Java-Multithreading
How to Display all Threads Status in Java?
Last Updated: 23 July 2025
Threads are light-weight processes within a process.. Multithreading in java is a feature that allows concurrent execution of two or more parts of a program to maximize th...
read more
Java
Java Programs
Picked
Java-Multithreading
1
2
3
4
5
6
7
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !