Posts related to tag: Java


Java- Find all possible Palindrome in given String

In this short article, we’ll show you how to find all possible Palindrome in given String using Java. Let us […] Continue reading »

Java Program for Tower of Hanoi Problem

In this article, we are going to solve the Tower of Hanoi problem using Java program. There are two approaches […] Continue reading »

Java- Find the index of the two numbers in the array whose sum is equal to a given number

Sometimes interviewer wants to check the candidate’s logical ability and the approach taken to solve the challenge/problem using Java. Question:  […] Continue reading »

How to iterate Enum in Java

This guide walks you through how to iterate Enum in Java/Java 8. .values() method of an enum class return an […] Continue reading »

Stack implementation in Java using Array

This page will walk through custom Stack implementation in Java using Array. The Stack is a linear data structure which […] Continue reading »

Best practices to avoid NullPointerException in Java

In this tutorial, we will discuss the best practices to avoid or handle NullPointerException in Java. NullPointerException generally threw when […] Continue reading »

Spring Boot + Activiti Script Task Example

This page will walk through Spring Boot + Activiti Script Task example. A script task is an automatic activity. When […] Continue reading »

Spring Boot + Activiti Service Task Example

In this tutorial, we will discuss Spring Boot + Activiti Service Task example. Service task is used to invoke an […] Continue reading »

How to unmarshal/parse XML file using JAXB in Java

This page will walk through How to unmarshal/parse XML file using JAXB in Java. JAXB stands for Java Architecture for […] Continue reading »

How to find distinct elements in a list in Java

Java 8 introduced distinct() method in Stream interface to find the distinct element in a list. distinct() method returns a stream […] Continue reading »

Java 8- How to replace word in a File using Stream

On this page, you will learn how to find and replace words in a file using Java Stream. Java introduced […] Continue reading »

1 4 5 6 7 8 9