1 thought on “which of the following java declaration of the string Array is correct?”
Answer:
The Array declaration is of two types, either we can specify the size of the Array or without specifying the size of the Array. A String Array can be declared as follows: String[] stringArray1 //Declaration of the String Array without specifying the size.
Answer:
The Array declaration is of two types, either we can specify the size of the Array or without specifying the size of the Array. A String Array can be declared as follows: String[] stringArray1 //Declaration of the String Array without specifying the size.