The Baeldung logo
  • The Baeldung Logo
  • Start Here
  • Spring Courses ▼▲
    • REST with Spring Boot

      The canonical reference for building a production grade API with Spring

    • Learn Spring Security

      THE unique Spring Security education if you’re working with Java today

    • Learn Spring

      From no experience to actually building stuff​

    • Learn Spring Data JPA

      The full guide to persistence with Spring Data JPA

    • View All Spring Courses

  • Java Courses ▼▲
    • Learn JUnit

      Master the most popular Java testing framework.

    • Learn Maven

      Simplify Your Build with Apache Maven

    • Learn Hibernate JPA

      Master persistence with the Java specification and Hibernate implementation

    • Learn Mockito

      Enhance your unit tests through practical mocking

    • View All Courses

  • Pricing
  • About ▼▲
    • Full Archive

      The high level overview of all the articles on the site.

    • Baeldung Ebooks

      Discover all of our eBooks

    • About Baeldung

      About Baeldung.

Category upJava

Java Array

Learn how to work with arrays through the list of guides below.

  • Java Array Basics (23)
  • Java Primitives (18)
  • Sorting (16)
  • Apache Commons Lang (15)
  • Math (13)
  • Java Search (11)
  • Multidimensional Array (9)
  • Performance (7)
  • Java Stream Basics (6)

>> Finding Minimum and Maximum in a 2D Array

>> Finding the Second Smallest Integer in an Array in Java

>> Get the First and the Last Elements From an Array in Java

>> Convert 2D Array Into 1D Array

>> Finding the Index of the Smallest Element in an Array

>> Converting Float ArrayList to Primitive Array in Java

>> Compress and Create a Byte Array Using GZip

>> Set Matrix Elements to Zero in Java

>> Java Arrays Series

>> Finding the Majority Element of an Array in Java

>> Moves Zeros to the End of an Array in Java

>> Find the Equilibrium Indexes of an Array in Java

>> Print a Java 2D Array

>> Convert byte[] to Byte[] and Vice Versa in Java

>> Find Missing Number From a Given Array in Java

>> Compress and Uncompress Byte Array Using Deflater/Inflater

>> Convert Byte Array to JSON and Vice Versa in Java

>> Recursively Sum the Integers in an Array

>> How to Convert Byte Array to Char Array

>> Arrays mismatch() Method in Java

  • «
  • ← Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • Next →
Course – LSSO – NPI EA (tag = OAuth)
LSSO Course Banner
The Baeldung logo

Courses

  • All Courses
  • Baeldung All Access
  • Baeldung All Team Access
  • Login Course Platform

Series

  • Java “Back to Basics” Tutorial
  • Learn Spring Boot Series
  • Spring Tutorial
  • Get Started with Java
  • All About String in Java
  • Security with Spring
  • Java Collections

About

  • About Baeldung
  • The Full Archive
  • Editors
  • Our Partners
  • Partner with Baeldung
  • eBooks
  • FAQ
  • Baeldung Pro
  • Terms of Service
  • Privacy Policy
  • Company Info
  • Contact
The Baeldung Logo