Is it possible to create arrays of length zero? Select the one correct answer. (a) Yes, you

Question:

Is it possible to create arrays of length zero?

Select the one correct answer.

(a) Yes, you can create arrays of any type with length zero.

(b) Yes, but only for primitive data types.

(c) Yes, but only for arrays of reference types.

(d) No, you cannot create zero-length arrays, but the main() method may be passed a zero-length array of Strings when no program arguments are specified.

(e) No, it is not possible to create arrays of length zero in Java.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: