Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding Ninjas X Naukri.com
Last updated: Jul 28, 2022

Java Synchronization

Synchronization in java is the capability to control the access of multiple threads to any shared resource. Java Synchronization is a better option where we want to allow only one thread to access the shared resource. In the Multithreading concept, multiple threads try to access the shared resources at a time to produce inconsistent results. Synchronization is necessary for reliable communication between threads.
Synchronization in Java
In this blog, we will discuss the crucial concept of Synchronization in Java which avoids thread-interference.
Difference between Wait and Sleep in Java MEDIUM
Learn the essential distinctions between the wait() and sleep() methods with our in-depth tutorial on thread synchronization in Java!
Synchronization Block in Java
In this blog, we will discuss the crucial concept of Synchronization in Java which avoids thread-interference.
Static Synchronisation in Java
In this article, we will learn static synchronisation in Java.
Deadlock Prevention and Avoidance EASY
In this blog, We will learn about Deadlock prevention and avoidance in Java.
Json Pretty EASY
In this article, we will learn about JSON pretty printing in Python. We will discuss what JSON is, how to use the json.dumps() method to pretty print JSON strings, how to write pretty printed JSON data to a file, how to read JSON data from a file & pretty print it, & how to use the pprint module to pretty print JSON.
Interrupting thread EASY
In this article, we will learn about Interrupting Threads in Java. We will see some examples to understand better how the interrupt method works in Java.
Reentrant Monitor in Java
In this blog, we will learn about reentrant monitors and different methods of it in Java.
Lock frameworks vs. thread synchronization
In this blog, We will learn about the differences between Lock frameworks and thread synchronization.
Atomic Variables in Java EASY
In this article, we will discuss all the Atomic Variables present in Java. We will further discuss the types of Atomic Variables in Java and the methods present in Atomic Variables in Java. We will also look at an example code to understand Atomic Variables in Java.
Difference between Atomic, Volatile, and Synchronized EASY
In this blog, We will learn about the difference between Atomic, Volatile, and Synchronized.