What is the maximum number of elements can be stored in the following array in Java?

What is the maximum number of elements can be stored in the following array in Java?
long[] a = new long[(1 << 16)];