Tag Archives: Java

Inter thread communication in Java

Inter thread communication in Java allows the multiple threads to communicate and coordinate with each other. It helps in a concurrent environment when multiple threads work together over shared resources. In Java, we can use the object’s class methods, such as wait(), notify() and notifyAll() to achieve inter-threaded communication. Object’s monitor Monitor is the lock… Read More »

How to convert Java class file to source code

Java Decompiler A Java decompiler is a reverse engineering tool that can be used to convert Java bytecode back to Java source code. It became useful when we had the compiled Java classes (in the form of bytecode, typically stored in a.class file) but not the original source code. In this tutorial, we will learn… Read More »

How to convert Java Object to YAML file?

YAML stands for YAML Ain’t Markup Language is also known as Yet Another Markup Language. It is generally used for configuration files and the data exchange between languages with different data structures. Given below is an example of a YAML file representing information about a website: Java Object to YAML file In this tutorial, we are… Read More »

Java 21 – Java 21 features with example

The new version of Java, Java 21, is finally released on September 19, 2023, as the next long-term support (LTS) version. Because of this LTS version, it will be used in commercial support as the next stable version. After working on a total of 2585 JIRA issues, of which 1868 were resolved by Oracle and… Read More »