Posts from Java

Check if a number is Euler Pseudoprime in Java

By Sahil Singh

In this article, we are going to see and understand how to check if a number is Euler Pseudoprime or not in Java. Definition:-  An integer ‘N’ is called Euler Pseudopr.... Read More

Boyer Moore Algorithm in Java

By Aakash Puri

In this tutorial, you will learn what is Boyer Moore Algorithm, what is it used for, and how to implement it in Java Programming Language. What is the Boyer Moore Algorithm It is a.... Read More

What is CountDownLatch in Java and it’s example

By Aakash Puri

In this tutorial, you will learn the concept of CountDownLatch concept and how to implement it with an example in Java Programming Language. What is CountDownLatch? CountDownLatch .... Read More

pattern() method in Java with examples

By Ranjeet V

In Java, we have the pattern() method of pattern class which helps us find out the regular expression that is compiled to get a pattern. We will see some example programs in this p.... Read More

Frobenius Norm of a given matrix in Java

By Adit Gupta

In this tutorial, I will show how to calculate the Frobenius Norm of a given matrix in Java. It is very basic and just involves a beginner level knowledge of how matrices work in p.... Read More

Java program to right rotate array

By Adit Gupta

In this tutorial, I will explain how to right rotate the elements of an array with a simple Java program. Let us get started. Right Rotate the elements of an array in Java Right ro.... Read More

Find whether an array is subset of another array in Java

By Satyam Chauhan

Hi! in this tutorial we are going to develop a Java code that will find if an array is a subset of another array or not. So, let’s start with the code- import java.util.Scann.... Read More

Comparison of Autoboxed Integer Objects in Java

By Satyam Chauhan

Hi! in this tutorial we are going to understand the comparison of Autoboxed Integer objects in Java. First, let me tell you what is autoboxing exactly. Autoboxing is an automatic c.... Read More