Java 8 – How to Reverse a String in place ?
In this article, we will see how to reverse a String in place using traditional & Java 8 Stream approaches 1. Traditional approach : ReverseStringInPlace.java Read More
In this article, we will see how to reverse a String in place using traditional & Java 8 Stream approaches 1. Traditional approach : ReverseStringInPlace.java Read More
In this article, we will discuss how to convert YAML file to XML file using ObjectMapper or Jackson library 1. Required libraries : 1.1 Maven Read More
In this article, we will discuss how to convert XML file to YAML file using ObjectMapper or Jackson library 1. Required libraries : 1.1 Maven Read More
In this article, we will discuss how to pretty print JSON using Jackson or ObjectMapper 1. Required libraries : 1.1 Maven Co-ordinates : 1.2 JAR Read More
In this article, we will discuss how to pretty print JSON using JSONObject 1. Required libraries : 1.1 Maven Co-ordinates : 1.2 JAR files to Read More
In this article, we will learn how to remove 1st and last character from a String using String‘s methods and StringBuffer/StringBuilder method in different ways Read More
In this article, we will learn how to find/get 1st and last character in a String using String‘s methods & StringBuffer/StringBuilder method in different ways Read More
In this article, we will learn how to convert duplicate characters/occurrences to Uppercase letter in a String In one of the previous article, we already Read More
In this article, we will learn how to convert LocalDate to XMLGregorianCalendar in Java 1.8 version and vice-versa 1. Convert LocalDate to XMLGregorianCalendar : For Read More
In this article, we will discuss how to remove specific character from a given String using different approaches Remove Character from a given String : Read More
In this article, we will discuss how to remove white-spaces in a String. String can have trailing/leading white-spaces as well as white-spaces in-between String. Remove Read More
In this article, we will discuss and understand why we need to override toString() method for displaying ArrayList contents Problem statement for ArrayList : Assume Read More
In this article, we will discuss how to convert String to StringBuilder and vice-versa Note: String to StringBuffer conversion is also possible, read StringBuffer to String Read More
In this article, we will discuss how to convert String to StringBuffer and vice-versa Note: String to StringBuilder conversion is also possible, read StringBuilder to String conversion Read More
In this article, we will discuss various ways to convert Short to String in Java Short: Size is 2 bytes Its range is -32,768 to Read More
In this article, we will discuss various ways to convert String to short (or Short) in Java 1. Short: Size is 2 bytes Its range is Read More
In this article, we will discuss how to convert Byte[] array to String in Java 1. Byte: Size is 1 byte Its range is -128 to Read More
In this article, we will discuss how to convert String to Byte[] array in Java 1. Byte: Size is 1 byte Its range is -128 to Read More
In this article, we will discuss various ways to convert Byte to String in Java 1. Byte: Size is 1 byte Its range is -128 to Read More
In this article, we will discuss various ways to convert String to Byte in Java 1. Byte: Size is 1 byte Its range is -128 to Read More