开发者

What kind of array is this? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
开发者_开发技巧

Want to improve this question? Add details and clarify the problem by editing this post.

Closed 7 years ago.

Improve this question
public static String[] months = {"January", "February", "March",  
       "April", "May", "June",  
       "July", "August", "September",  
        "October", "November", "December"};

Is it called a one dimensional array?


Yes. It's a one-dimensional string array.

You only get multi-dimensional arrays by having arrays within arrays, and this array contains only strings and not other arrays.


Yes.


Would normally be referred to as simply a string array.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜