Posts by Anubhav Srivastava

Author Biographical Info: Not available

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

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

How to convert Uppercase String to Lowercase in Java

By Anubhav Srivastava

Hi coders! In this tutorial, we are going to see String class of Java. Our task is to convert uppercase String to lowercase in Java, for this we are going to use the StringBuffer c.... Read More

Create LinkedList from an array in Java

By Anubhav Srivastava

Hi coders! In this tutorial, we are going to learn how to create LinkedList from an array in Java, the combination of two data structures that are array and LinkedList. Our task is.... Read More

Remove duplicates from a sorted LinkedList in Java

By Anubhav Srivastava

Hi coders! I am back with a problem that is related to many people’s favourite data structure Linked List. The problem is to remove duplicate nodes from a sorted LinkedList i.... Read More

How to find the size of an array in Java

By Anubhav Srivastava

Hi coders! In this tutorial, we are going to learn about the array data structure. The task is to find the size of an array in Java. Now as the array is a collection of variables o.... Read More

How to initialize an array in Java

By Anubhav Srivastava

Hi coders! In this tutorial, we are going to discuss a very famous data structure known as Array. Today’s topic is how to initialize an array in Java. Array is a linear data .... Read More