Posts from Java

Building Heap from an array in Java

By Darshna Patil

Hi coders! today we are going to see how to create a heap from an array in Java. First, we have to see what is a heap? A heap is a complete binary tree which satisfies two properti.... Read More

Find all missing numbers from a sorted array in Java

By Darshna Patil

Hi coders! today we are going to see how to find all the missing numbers in a sorted array in Java. We all know an array is a collection of similar data type data. if we want to st.... Read More

How to sort all 0s ,1s and 2s in an array in Java

By Darshna Patil

Today we are going to see an array sorting problem which is how to sort all 0s, 1s and 2s in an array in Java. Here we will sort an array full of only 0s, 1s and 2s only. The probl.... Read More

strictfp Keyword In Java

By Priyam Patel

In this tutorial, we will be studying the “strictfp” keyword in Java. Also, we will be looking forward to where is it basically used. We will be further understanding o.... Read More

StringTokenizer class in Java

By Anubhav Srivastava

Hi coders! In this tutorial, we are going to learn the StringTokenizer class in Java. StringTokenizer class is used to break a string into parts. Individual part of the string is k.... Read More

PriorityQueue in Java

By Anubhav Srivastava

Hi coders! In this tutorial, we are learning about the PriorityQueue in Java. Since PriorityQueue is a Queue which follows First-In-First- algorithm but the PriorityQueue comes int.... Read More

Implement polling in Java with poll() method

By Krishna Lakhi

Hey Everyone! In this article, we will learn how to implement polling with the help of poll() method java.util.Queue package in Java. First, let us study the Queue interface presen.... Read More

StringBuffer class in Java

By Anubhav Srivastava

In this tutorial, we are going to discuss a Java class known as StringBuffer that is much similar to String class. There are many functions in StringBuffer that are similar to the .... Read More

Related Posts