Is it possible to create an empty array without specifying the size?

For example, I created:

String[] a = new String[5];

Can we create the above string array without the size?

14 Answers
14

Leave a Reply

Your email address will not be published. Required fields are marked *