
Java – Find sum of Smallest 2 numbers in an Arrays or List ?
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 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 how to find and count duplicates in an Arrays in different ways Find and count duplicates in an Arrays Read More
In this article, we will learn how to convert Date to String in Java using different date formats Q) What is the need of converting Read More
In this article, we will learn how to convert String to Date in Java using different date formats Q) What is the need of converting Read More
In this article, we will discuss one of the famous interview question on how to swap two numbers using third or temporary variable Actually, there are n number of 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 see steps to import Maven project in Eclipse IDE Assumption: We already, Created Maven project or Generated Maven project from Read More
In this article, we will discuss how to remove white-spaces in a String. String can have trailing/leading white-spaces as well as white-spaces in-between String. Remove Read More
In this article, we will discuss how to merge or concatenate 2 Arrays of same type using Java 8 Stream API. Already in the previous Read More
In this article, we will discuss how to merge or concatenate 2 Arrays of same type. In one of the previous article, we already discussed Read More
In this article, we will discuss what are the different optimum ways to find sum of smallest 2 numbers in an Array or List or Read More
In this article, we will discuss what are the different optimum ways to find sum of largest 2 numbers in an Array or List or Read More
In this article, we will discuss how to store/put multiple values for single key in HashMap Sometimes, we might require to store multiple values for Read More
In this article, we will discuss how to find and count duplicates in a Stream or List in different ways Find and count duplicates in Read More
In this article, we will discuss how to remove duplicate elements from Array Also read, Java – Different ways to remove duplicate elements from Arrays Read More
In this article, we will discuss how to convert a modifiable HashMap entries into an unmodifiable HashMap entries using Collections.unmodifiableMap(); method 1. Convert HashMap to Read More
In this article, we will discuss how to convert a modifiable HashSet into an unmodifiable HashSet using Collections.unmodifiableSet(); method 1. Convert HashSet to Read-only: HashSet Read More
In this article, we will discuss how to convert a modifiable ArrayList into an unmodifiable ArrayList using Collections.unmodifiableList(); method 1. Convert ArrayList to Read-only: ArrayList Read More
In this article, we will discuss how to convert Stream into a ConcurrentHashMap in Java 1.8 version using Stream API Stream to ConcurrentHashMap : Using Read More