Arrays Arrays as ADTs An array is an Abstract Data Type The array type has a set of values The values are all the possible arrays The array type has a set of operations that…