which of the following java declaration of the string Array is correct?
Question
which of the following java declaration of the string Array is correct?
in progress
0
Mathematics
2 years
2021-07-08T04:33:09+00:00
2021-07-08T04:33:09+00:00 1 Answers
0 views
0
Answers ( )
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.