classList{private:staticconstintINITIAL_SIZE=5;intelements[INITIAL_SIZE];// or
int*elements;intelementCount;intcapacity;public:~List(){delete[]elements;}}### Operations
>capitalizedonesareonlyforpos-oriented,notvalue```cpp// insert an element at a given position in the list
insert(element,POSITION);// append an element at the end of the list
APPEND(element);// remove the element at a given position in the list
remove(position);// remove all the elements from the list
removeAll();// get the element at a given position in the list
elementTypeget(position);// swap two elements
SWAP(position1,position2);// how many elements are in the list
intgetElementCount();