Two Dimensional (2D) Arrays

Get a brief introduction to 2D arrays in Java.

Introduction

The concept of two-dimensional arrays is built on the arrays (one-dimensional array). Remember: when we talked about arrays in real life, we referred to them as lockers. Well, the same can be done for 2D-arrays. Look at the image below.

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy