 just an array with a pointer to the most recent item, and memory is allocated at compile time.</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">@tparam  T the kind of numbers (or other things) to store.</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">@tparam NUM_ITEMS the maximum number of items the stack will need to hold. </span></div><div class="line"><a name="l00016"></a><span 