ht-java notranslate"><div class="highlight"><pre><span></span><span class="kd">class</span> <span class="nc">Stack</span><span class="w"> </span><span class="p">{</span><span class="w"> </span>
<span class="w">	</span><span class="n">Node</span><span class="w"> </span><span class="n">top</span><span class="p">;</span>
<span class="w">	</span><span class="n">Node</span><span class="w"> </span><span class="nf">pop</span><span class="p">()</span><span class="w"> </span><span class="p">{</span>
<span class="w">