Creating JSON Arrays in Java: Examples with org.json, Gson, and Jackson

Java is a versatile and powerful programming language commonly used for developing various applications. One of the … Read more

Creating Simple JSON in Java: A Comprehensive Guide

Java, being a versatile and widely-used programming language, provides robust libraries for handling JSON data. JSON (JavaScript … Read more

How to Switch Between Multiple Java Versions On Ubuntu Linux ?

Switch Java Version

If you have installed multiple JDK on ubuntu and sometimes you might need to change the version … Read more

How to iterate through List in Java ?

Lists are an ordered collection of elements in Java. Conceptually those are similar to Linked list in … Read more

Byte Array To Integer And Integer to Byte Array Conversion using JAVA

If you are working in some network related data transfer like sending some commands over socket, then … Read more

How to check if Filepath is Normal File or Directory in JAVA ?

In our previous post, we seen how to identify if a file is present or Not using … Read more

How to generate random number between two numbers in Java ?

This post demos how you can get the random number between two numbers in a simple java … Read more

Convert Byte Array to Hex using Java

The post briefs above how you can convert byte Array to Hex values and print those on … Read more