The elements of an object type array can be retrieved by their index and can be manipulated as any object of the given type would be 對象類型數(shù)組的元素可以通過其索引進(jìn)行檢索,并且可以像處理給定類型的任何對象一樣進(jìn)行處理。
Type downcasting is performed , as required . when copying from a reference - type array to a value - type array , each element is unboxed and then copied 在從引用類型的數(shù)組復(fù)制到值類型的數(shù)組時,每一個元素都要取消裝箱,然后再復(fù)制。
Implicitly typed arrays , a form of array creation and initialization that infers the element type of the array from an array initializer 隱式類型化的數(shù)組,一種數(shù)組建立的規(guī)范并且初始化以從數(shù)組構(gòu)造者那里推斷出數(shù)組中的元素類型。
When copying from a value - type array to a reference - type array , each element is boxed and then copied . when copying from a reference - type or value - type array to an 在從值類型的數(shù)組復(fù)制到引用類型的數(shù)組時,每一個元素都要裝箱,然后再復(fù)制。
This structure only supports arrays containing no references , such as primitive type arrays and value type arrays containing only fields of primitive types 此結(jié)構(gòu)只支持不包含引用的數(shù)組,例如基元類型數(shù)組和只包含基元類型字段的值類型數(shù)組。