What kind of array is this? [closed]
开发者_开发技巧
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this questionpublic 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.
精彩评论