Tag Archives: Java

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 »

How to resolve Eclipse version 1.8.0_301 of the JVM is not suitable for this product. Version 17 or greater is required. ?

Whenever we install a new version of Eclipse IDE, which comes with the latest support for JVM, while opening Eclipse IDE, we may get the following error: Version 1.8.0_301 of the JVM is not suitable for this product. Version 17 or greater is required. Steps to resolve the JVM version not suitable for Eclipse Step… Read More »

Observer design pattern in Java

The Observer design pattern is a Behavioral design pattern that defines a one-to-many dependency between objects so that when one object changes state, all its dependent objects (observers) are notified and updated automatically. This pattern is also known as the Publish-Subscribe pattern. Observer design pattern real world example Let’s understand the observer design pattern with… Read More »