Here is the answer,
Print array.length. It will print 0. That means it is empty. But if it would have been null then it would have thrown a NullPointerException on attempting to print array.length.
Hi U can print the size of array using array.length or u can derectly print the array by name it not print null