D Arrays
An array is a linear data structure that stores elements of the same data type in contiguous memory locations. It is the simplest and most widely used data structure.
D Arrays (Matrices)
A 2D Array in Java is effectively an array of arrays. It represents a grid or a matrix of elements.