| This process is to define and declare a class template for stack. A stack is a data structure in which all insertions and deletions are made at the same end called top insertions are called push operations while deletions are referred to as pop operations. |