Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding Ninjas X Naukri.com
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.
Arrays In Java EASY
Explore array in Java: advantages, disadvantages, single & multidimensional types. Learn Java array declaration, instantiation, and initialization efficiently.
Single Dimensional Array
This blog will cover the Single Dimensional Array.
Multi-Dimensional Arrays in Java
In this blog, we will learn about Multi-dimensional arrays, their declarations, functionalities, and uses.
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
In this article, we will discuss different approaches to merging two arrays in Java, including using predefined functions, custom implementations, and Java's Collections framework and Stream API.
Java Array Indexof EASY
In this blog, we will learn about the Java Array Indexof method in detail.
Character Array in Java EASY
In this article, we will learn the basics of character arrays in Java, like how to declare, initialize, access & modify elements.
How to Print Array in Java EASY
In this article, we will discuss different ways to print arrays in Java, like with the help of loops, built-in methods, and the Stream API.
Array vs Arraylist in Java EASY
In this article, we'll discuss the key differences between arrays & ArrayLists in Java. We'll check out how to create & use them with code examples. This article will clear all your doubts regarding 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
In this article we will see both of the two methods of finding the second largest element like using array and collections.
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
In this article, we'll explore how to find the size of an ArrayList with clear examples and explanations. Let's dive in!
Arrays asList() in Java EASY
In Java, Arrays asList() is a utility method provided by the java.util.Arrays class that returns a fixed-size list backed by the specified array. It is useful for quickly converting an array into a List object.
Remove Duplicates From Array in Java MEDIUM
In this article, we will discuss different techniques to remove duplicates from an array in Java, like using extra space, constant extra space, sets, frequency arrays, and hash maps.
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
In this blog, we’ll understand jagged array in Java and its implementation.
How to Create Array of Objects in Java? MEDIUM
This article will discuss creating an array of objects in java. We will learn to declare, instantiate and two ways to initialise the array of objects.