How to define a char stack?
<p>How to define a char stack in java? For example, to create a String stack I can use such construction:</p>

<pre><code>Stack &lt;String&gt; stack= new Stack &lt;String&gt; ();
</code></pre>

<p>But when I'm try to put char instead String I got an error:</p>

<pre><code>Syntax error on token "char", Dimensions expected after this token
</code></pre>
