Difference between sleep() and wait() in Java Author, January 1, 2023January 1, 2023 1. Java sleep() and wait() – Discussion sleep() is a method which is used to pause… Continue Reading
Difference between Runnable vs Thread in Java Author, January 1, 2023 1. Create Thread using Runnable Interface vs Thread class Let’s quickly check the java code… Continue Reading
Thread Priority in Java Author, January 1, 2023 In this post, we are going to discuss thread priorities in detail and the different types of… Continue Reading
How To Kill Thread in Java Author, December 18, 2022 There is no official method to kill a thread in Java. Stopping a thread is entirely… Continue Reading
Java 8 Concurrency (2023) Author, September 1, 2022July 25, 2023 In simple words, concurrency is the ability to run several programs or several parts of a program… Continue Reading
ConcurrentHashMap Author, September 1, 2022September 1, 2022 1. ConcurrentHashMap class The ConcurrentHashMap is very similar to the HashMap class, except that ConcurrentHashMap offers internally maintained concurrency. It means we do… Continue Reading