Last updated: Feb 22, 2022

Arrays

Java provides a data structure, the array, which stores a fixed-size sequential collection of elements of the same type. An array is used to store a collection of data, but it is often more useful to think of an array as a collection of variables of the same type.
What is Array
This tutorial teaches you how to define array variables, build arrays, and process arrays using indexed variables.
Java Arrays EASY
Understand arrays in Java with easy examples. Learn how to declare, create, and use Java arrays, including single, multi-dimensional, and dynamic arrays.
Single Dimensional Array
This blog will cover the Single Dimensional Array.
Difference Between Array and Collection in Java MEDIUM
In this article, we will learn about the difference between Array and Collection in Java, their key characteristics, performance comparison, and when to use each.
Multi-Dimensional Arrays in Java
Understand 2D and 3D arrays in Java with easy syntax, examples, and usage tips. Learn to manage multidimensional data structures efficiently.
One Dimensional Array in Java EASY
Learn what a one-dimensional array in Java is, how it works, its syntax, and implementation with real Java code examples for better understanding.
How to Find Length of Array in Java? EASY
In this article, we'll discuss different methods to determine the length of an array in Java, with proper examples & explanations for each approach.
Array Index Out of Bounds Exception in Java EASY
In this article, we'll talk about the ArrayIndexOutOfBoundsException - what it is, why it occurs, and how to avoid & resolve it in your code. We'll see proper code examples to understand this in real scenarios.
How to Merge Two Arrays in Java? EASY
Learn how to merge two arrays in Java using predefined methods, custom logic, Collections, and Stream API. Master array merging with Java examples.
Java Array Indexof EASY
In this blog, we will learn about the Java Array Indexof method in detail.
Character Array in Java EASY
Learn Java char arrays: declare, initialize, access, and modify elements. Master Java character arrays for cleaner, efficient coding and strong fundamentals.
Convert ArrayList to Array in Java Easily EASY
Convert ArrayList to Array in Java using loops, built-in methods, and Stream API. Learn simple examples for efficient Java conversions.
How to Print an Array in Java Easily EASY
Print array in Java using loops, built-in methods, and Stream API. Learn easy ways to display arrays with examples for clear coding.
How to Add an Element to an Array in Java? EASY
In this article, we will learn how to add an element to an array in Java using methods like Arrays.copyOf(), System.arraycopy(), ArrayList, and Java 8 Streams.
Array vs ArrayList in Java EASY
Learn the difference between array and ArrayList in Java. Understand key concepts, examples, and syntax with our clear Array vs ArrayList in Java.
How to Return an Array in Java? EASY
In this article, we'll discuss how to return arrays from methods in Java, talking about both one-dimensional & multi-dimensional arrays.
Java Program to Find Second Largest Element in an Array EASY
Learn how to find the second largest element in Java using arrays and Collections. Understand both approaches with examples for better code clarity.
ArrayList size() method in Java EASY
In this article, we will discuss the ArrayList size() method in detail, like its syntax, return values, and practical examples.
Java Program to Find the Length or Size of an ArrayList EASY
Java ArrayList size explained with examples. Learn how to find ArrayList length in Java using size() method with simple code and step-by-step guide.
Arrays asList() in Java EASY
Learn how Java Arrays.asList() converts arrays to fixed-size lists. Understand its usage, limitations, and best practices with examples.
Remove Duplicates from Array in Java with Example MEDIUM
Remove duplicates from an array in Java using sets, hash maps, frequency arrays, or extra space. Learn methods and code examples for easy implementation.
Final Arrays
This article shall discuss the final array in Java and its code implementation.
Reflection Array Class
This article shall discuss the reflection array class in Java.
util.Arrays vs reflect.Array
This article shall discuss the comparison between util.Arrays and reflect.Array in Java programming language.
Jagged array in Java EASY
Learn what a jagged array in Java is, how to implement it, and explore its benefits for handling non-uniform data structures with array of arrays.
How to Create Array of Objects in Java? MEDIUM
Learn how to create, declare, and initialize an array of objects in Java with examples. Master object array handling in Java programming easily.