In Java, arrays are objects, therefore just like other objects arrays are stored in heap area.
Where are arrays stored in Java 8 Java heap or native heap?
Storage of Arrays
As discussed, the reference types in Java are stored in heap area. Since arrays are reference types (we can create them using the new keyword) these are also stored in heap area.
Where are arrays stored?
Array is stored in heap space. Whenever an object is created, it's always stored in the Heap space and stack memory contains the reference to it.