
Java 8 – How to calculate sum and average of an Arrays ?
In this article, we will discuss how to calculate sum and average of an Arrays in Java 8 1. Java 8 – Find sum and Read More
In this article, we will discuss how to calculate sum and average of an Arrays in Java 8 1. Java 8 – Find sum and Read More
In this article, we will discuss how to find second smallest number in an Arrays and List 1. Finding Second smallest number in an Arrays Read More
In this article, we will discuss how to find second largest number in an Arrays and List 1. Finding second largest number in an Arrays Read More
In this article, we will discuss how to find sum of smallest 2 numbers in an Arrays and List 1. Finding sum of smallest 2 Read More
In this article, we will discuss how to find sum of largest 2 numbers in an Arrays and List 1. Finding sum of largest 2 Read More
In this article, we will discuss and execute a simple Java program to check whether the given number is Armstrong number or not Armstrong number: Read More
In this article, we will discuss how to iterate/print List (ArrayList/LinkedList) from Java 1.0 to Java 1.8 version. In one of the previous article, we Read More
In this article, we will learn different ways to iterate through HashMap Different ways to iterate through Map : Using Map.forEach() method Using Map.keySet() and Read More
In this article, we will discuss how to sort TreeSet elements in descending order using Comparator interface 1. Comparator interface Compares its two arguments for order Read More
In this article, we will see how to print elements of an Arrays Read Various ways to iterate Arrays in Java – 5 ways Different Read More
In this article, we will discuss different types of for-loop evolved over years in various Java versions Starting Java 1.1 version, for-loop was always there Read More
In this article, we will discuss how to print n natural numbers in Java Printing first N natural numbers : Using for loop Using while Read More
In this article, we will discuss how to merge two arrays and then sort according to natural order i.e.; ascending order. Well, by passing Comparator Read More
In this article, we will discuss various ways to remove duplicate elements from Arrays in Java i.e.; Ways to remove duplicate elements from Arrays: Using Read More
In this article, we will discuss various ways to reverse a String in Java i.e.; 1. Various ways to reverse String contents: reverse() method of StringBuffer/StringBuilder Read More
In this article, we will discuss various ways to iterate through Arrays in Java i.e.; Various ways to iterate through Arrays: Standard/traditional/regular for-loop Enhanced for-loop or Read More