Check out example codes for "java empty array". It will help you in understanding the concepts better.

Code Example 1

String [] names = new String[0];

// or 

int [] ages = {}

Learn ReactJs, React Native from akashmittal.com