Array.clear
void clear()Removes all the elements from the array and releases allocated memory.
Postcondition: empty == true && capacity == 0
Complexity: length
void clear()Removes all the elements from the array and releases allocated memory.
Postcondition: empty == true && capacity == 0
Complexity: length