What do apostrophes mean in java
<p>in the book i'm learning from i came across this code snippit: </p>

<pre><code>while (i &lt; len) { 
char c = s.charAt(i); 
if (c == ’(’) { 
count = count + 1; 
} else if (c == ’)’) { 
count = count - 1; 
} 
i = i + 1; 
} 
</code></pre>

<p>what do the apostrophes mean in <code>(c == '(')</code> ? also isn't there a syntax error here? it looks like <code>(c == '(')</code> needs another ) at the end of it. </p>

<p>what about here : <code>else if (c == ’)’)</code>    ? </p>
