Social Sciences, asked by anandalakshmiguntupa, 4 months ago

What is the correct way to declare an array of string objects?
O A. All of these
O B. String s[];
O C. String [ ]s;
O D. String[] s;​

Answers

Answered by moonstar16098
1

Explanation:

Simple String Array Declaration in Java

The first one is to use the square bracket after the variable name, for example: String myArray[]; The other way of declaring String Array in Java is to place the square brackets after the data type.

Answered by shashankthakur484
0

Answer:

D is your answer

Explanation:

marks Brainliest plzz

Similar questions