All > Technology > Programming > Java
The type of items which may be stored in an array - the array's defined type. For instance, in
int[] numbers;
the base type ofnumbers
isint
. Where the base type is a class type, it indicates the lowest super type of objects that may be stored in the array. For instance, inShip[] berths;
only instances of theShip
class may be stored inberths
. If the base type of an array isObject
, instances of any class may be stored in it.- Browse Related Terms: array, base type, deep copy, dynamic type, finalization, garbage collection, heterogeneous collection, homogeneous collection, shallow copy, subarray