Courses
Tutorials
Practice
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
37.5K+ articles
Java
10.8K+ articles
Misc
8.8K+ articles
Difference Between
3.6K+ articles
Java Programs
2.0K+ articles
java-basics
330+ articles
Interview Questions
185+ articles
Java-Output
54+ articles
java-advanced
47+ articles
Java-Networking
45+ articles
Java-Multithreading
92 posts
Recent Articles
Popular Articles
Java Thread.enumerate() Method
Last Updated: 24 January 2025
Thread.enumerate() method in Java is used to retrieve all active threads in the current thread's thread group, and it stores these threads in an array. This method provide...
read more
Java
Java-Multithreading
Java Thread.activeCount() Method
Last Updated: 24 January 2025
Thread.activeCount() method is a static method of the Thread class in Java that returns the number of active threads in the current thread's thread group and its subgroups...
read more
Java
Java-Multithreading
Java Thread Class
Top 30 Plus Advanced Java Interview Questions and Answers 2025
Last Updated: 01 November 2024
Java is a leading programming language essential for developing enterprise solutions, mobile apps, and web platforms. This article provides a comprehensive set of Advanced...
read more
Java-Multithreading
java-servlet
java-advanced
Java-Spring
Java-Spring-Boot
Java-Spring-Security
Java-Spring-Data-JPA
Java-Spring-MVC
JUnit
Java-Spring-Cloud
Java Concurrency
Java Microservices
Advance Java
Interview Questions
Spring JDBC
Effective Utilization of TreeMap in Concurrent Java Applications
Last Updated: 27 February 2024
A Java application may run many threads concurrently thanks to multithreading. Thread safety must be guaranteed when utilizing data structures like TreeMap in a multithrea...
read more
Java
Java-Multithreading
Java Programs
java-TreeMap
Picked
Java Examples
How to Copy a File in Multiple Threads Using Java?
Last Updated: 24 April 2025
Copying files is a task, in programming that deals with file manipulation. Although Java offers tools, for file handling copying files can slow down our application's perf...
read more
Java
Java-Multithreading
Java Programs
Picked
Threads
Parallelizing Tasks in Java using ForkJoinPool
Last Updated: 24 April 2025
In the realm of concurrent programming, Java's ForkJoinPool stands out as a powerful framework for parallelizing tasks. It is particularly adept at handling computationall...
read more
Java
Java-Multithreading
Which Method Should We Use to Release a Lock from a Thread in Java?
Last Updated: 08 December 2023
In JVM we have the option of multithreading. It isan act of executing a complex process using virtual processing entities independent of each other. These entities are cal...
read more
Java
Java-Multithreading
Virtual Threads in Java
Last Updated: 15 November 2023
In Java, Virtual threads are now supported by the Java Platform. Virtual threads are lightweight threads that greatly minimize the effort required to create, operate, and ...
read more
Java
Java-Multithreading
Java Threading Programs - Basic to Advanced
Last Updated: 25 August 2023
Java threading is the concept of using multiple threads to execute different tasks in a Java program. A thread is a lightweight sub-process that runs within a process and ...
read more
Java
Java-Multithreading
Java Programs
Java Multithreading - One Thread to Take Input, Another to Print on Console
Last Updated: 26 April 2025
Multithreading is a concept in which our program can do two or more tasks at the same time. Thread is the execution unit of any process. Every process has at least one thr...
read more
Java
Technical Scripter
Java-Multithreading
Java Programs
Technical Scripter 2022
Java Multithreading Program with Example
Last Updated: 26 April 2025
Multithreading is a concept in which our program can do multiple tasks in a single unit of time. Thread is the execution unit of any process. Every process must have one t...
read more
Java
Technical Scripter
Java-Multithreading
Java Programs
Technical Scripter 2022
Throttling Task Submission Rate with ThreadPoolExecutor and Semaphore in Java
Last Updated: 26 April 2025
In today's world, it is common for computer systems to receive a large number of requests that need to be processed quickly and efficiently. However, if too many requests ...
read more
Java
Technical Scripter
Java-Multithreading
Picked
Technical Scripter 2022
Java Threads
Last Updated: 06 May 2025
Java threads are lightweight subprocesses, representing the smallest unit of execution with separate paths. The main advantage of multiple threads is efficiency (allowing ...
read more
Java
Java-Multithreading
Picked
Runnable, Callable, Future, Executor in Java & Android Multithreaded Programming
Last Updated: 10 January 2023
Multithreading is a Java feature that allows concurrent execution of two or more parts of a program for maximum utilization of CPU. Each part of such a program is called a...
read more
Java
Java-Multithreading
Picked
Android
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
Java-Multithreading
Picked
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 !