Posts by Ishika Koytekar

Author Biographical Info: Not available

Check if two Date Ranges Overlap or not in Java

By Ishika Koytekar

In this tutorial, we are going to learn to check if two Date Ranges Overlap or not in Java. There would be 4 possible overlaps. Consider two date ranges, start date be s1, the end .... Read More

Random nextGaussian() method in Java

By Ishika Koytekar

In this tutorial, we are going to learn about the nextGaussian() method which is present in the Random class in Java. It is used to generate the next pseudorandom Gaussian double v.... Read More

Find the second-highest number in an ArrayList in Java

By Ishika Koytekar

In this tutorial, we are going to learn how to find the second-highest number in an ArrayList in Java. ArrayList is present in java.util package and it provides a dynamic approach .... Read More

How to convert JSON String to Java Object

By Ishika Koytekar

In this tutorial, we will learn how to convert JSON String to Java Object using the JACKSON library. Using a simple Java program we can easily convert JSON String to Java Object. J.... Read More

How to convert XML to JSON in Java

By Ishika Koytekar

In this tutorial, we will learn how to convert XML data to JSON data in Java. Using a simple Java program we can easily convert XML data to JSON data. XML stands for eXtensible Mar.... Read More

How to check if a number is Hoax or not in Java

By Ishika Koytekar

What is a Hoax Number? A Hoax number is defined as a composite number, whose sum of digits is equal to the sum of digits of its distinct prime factors. Note: 1 is not considered a .... Read More

How to count number of sentences in a text file in Java

By Ishika Koytekar

If you are wondering how many sentences does a .txt file contains? You will get your question answered here! In this tutorial, we are going to study how many sentences are present .... Read More