Is an array an object in Java?

前端 未结 12 1879
我寻月下人不归
我寻月下人不归 2020-11-22 14:26

In Java we can declare an array using the following:

String[] array = new String[10]; 
int size = array.length; 

Does this mean that the arra

12条回答
  •  执笔经年
    2020-11-22 14:43

    I just want to add that arrays have a representation in the reflection API - java.lang.reflect.Array.

提交回复
热议问题