In Java, getAvailableCurrencies() is a static method of Currency class that returns all available currencies. Currency class is inside the […] Continue reading »
In Java, you can iterate or loop a List object in different ways. In this short example, you will find […] Continue reading »
In Java 8, Stream API’s max method returns the maximum element of this stream according to the provided Comparator and […] Continue reading »
In this short tutorial, we’ll find all the capital letters in the given String using Java. Character.isUpperCase(char ch) returns true […] Continue reading »
QRGen library provides an API to generate the QR Code in a Java application. It is built on the top […] Continue reading »
In this article, we will show you a few ways to create/generate a unique token in Java. Creating a unique […] Continue reading »
In this short article, we’ll look at how to generate One Time Password (OTP) in Java 8. In Java 8, […] Continue reading »
In this short article, we’ll show you how to find all possible Palindrome in given String using Java. Let us […] Continue reading »
In this article, we are going to solve the Tower of Hanoi problem using Java program. There are two approaches […] Continue reading »
Sometimes interviewer wants to check the candidate’s logical ability and the approach taken to solve the challenge/problem using Java. Question: […] Continue reading »
This guide walks you through how to iterate Enum in Java/Java 8. .values() method of an enum class return an […] Continue reading »