
Java – Conversion of ArrayList to Arrays in 2 ways
In this article, we will discuss how to convert ArrayList to Arrays in different ways Conversion of ArrayList to Arrays[] : Using toArrays() method Using traditional Read More
In this article, we will discuss how to convert ArrayList to Arrays in different ways Conversion of ArrayList to Arrays[] : Using toArrays() method Using traditional Read More
In this article, we will see how to find duplicate in String[] Arrays Finding duplicates in String[] Arrays : Check duplicates present or not ? 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 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 how to sort Arrays in both ascending and descending order 1. Sorting Arrays in Ascending order : Passing original/actual Read More
In this article, we will discuss how to sort String[] array with example Arrays class has various sort methods for sorting different primitive data-types and Read More
In this article, we will discuss how to sort long[] array with example 1. long: Size is 8 bytes That’s is 64 bits Its range Read More
In this article, we will discuss how to sort double[] array with example 1. double: Size is 8 bytes That’s is 64 bits Its range Read More
In this article, we will discuss how to sort float[] arrays with example 1. float: Size is 4 bytes that’s is 32 bits Its range Read More
In this article, we will discuss how to sort int[] array with example 1. int Size is 4 bytes That’s is 32 bits Its range Read More
In this article, we will discuss how to sort short[] array with example short: Size is 2 bytes Its range is -32,768 to 32,767 Arrays Read More
In this article, we will discuss how to sort char[] array with example 1. char: Size is 2 bytes Its range is 0 to 65,536 Read More
In this article, we will discuss how to sort byte[] Arrays with example 1. Byte: Size is 1 byte Its range is -128 to 127 Read More
In this article, we will discuss how to convert first character of every word to uppercase For conversion, we will use either StringTokenizer class split() Read More
In this article, we will discuss various ways to convert Character[] array to String in Java Q) What is the need of converting primitive char[] array Read More
In this article, we will discuss various ways to convert String to char[] array in Java Q) What is the need of converting String to primitive Read More
In this article, we will discuss how to convert Arrays into List in Java 8 using Streams class Conversion of Arrays to List : Until 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 iterate through Arrays in Java i.e.; Various ways to iterate through Arrays: Standard/traditional/regular for-loop Enhanced for-loop or Read More
In this article, we will discuss difference between Arrays and ArrayList in detail i.e.; Arrays v/s ArrayList 1. Difference will be based on below parameters, Size Read More