About 553,000 results
Open links in new tab
  1. Java Arrays - W3Schools

    Arrays are used to store multiple values in a single variable, instead of declaring separate variables for each value. To declare an array, define the variable type with square brackets [ ] :

  2. Arrays (Java Platform SE 8 ) - Oracle Help Center

    This class contains various methods for manipulating arrays (such as sorting and searching). This class also contains a static factory that allows arrays to be viewed as lists.

  3. Arrays in Java - GeeksforGeeks

    Sep 30, 2025 · In Java, an array is an important linear data structure that allows us to store multiple values of the same type. Arrays in Java are objects, like all other objects in Java, …

  4. Arrays in Java: A Reference Guide - Baeldung

    Jul 24, 2024 · A simple and complete reference guide to understanding and using Arrays in Java.

  5. Java Array (With Examples) - Programiz

    In this tutorial, we will learn to work with Java arrays. We will learn to declare, initialize, and access array elements with the help of examples. An array is a collection of similar data types.

  6. Arrays in Java: Syntax, Types and Examples - Intellipaat

    Nov 12, 2025 · This Java array tutorial provides a complete guide starting with the basics of declaration and initialization and advancing to more complex topics including sparse arrays, …

  7. Arrays (Java Platform SE 8 ) - Oracle

    org.omg.PortableServer.POAManagerPackage org.omg.PortableServer.POAPackage org.omg.PortableServer.portable org.omg.PortableServer.ServantLocatorPackage …

  8. How to Declare and Initialize an Array in Java - GeeksforGeeks

    Oct 11, 2025 · The array memory is allocated when you use the new keyword or assign values. Complete working Java example that demonstrates declaring, initializing, and accessing arrays

  9. Arrays - Learn Java - Free Interactive Java Tutorial

    Java arrays are 0 based, which means the first element in an array is accessed at index 0 (e.g: arr [0], which accesses the first element). Also, as an example, an array of size 5 will only go up to …

  10. Creating Arrays in Your Programs - Dev.java

    For your convenience, Java SE provides several methods for performing array manipulations (common tasks, such as copying, sorting and searching arrays) in the Arrays class.