title: Which declarations are valid?
body: <p>Select the three correct answers (valid declarations).</p>
  
  <p>(a) <code>char a = '\u0061';</code></p>
  
  <p>(b) <code>char 'a' = 'a';</code></p>
  
  <p>(c) <code>char \u0061 = 'a';</code></p>
  
  <p>(d) <code>ch\u0061r a = 'a';</code></p>
  
  <p>(e) <code>ch'a'r a = 'a';</code></p>
  
  <p><strong>Answer</strong>: (a), (c) and (d)</p>
  
  <p><strong>Book:</strong> </p>
  
  <blockquote>
    <p>A Programmer's Guide to Java SCJP Certification (Third Edition)</p>
  </blockquote>
  
  <p>Can someone please explain the reason for the option (c) and (d) as the IDE (<em>IntelliJ IDEA</em>) is showing it in red saying:</p>
  
  <blockquote>
    <p>Cannot resolve symbol 'u0063'</p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/aplCB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aplCB.png" alt="As shown in IntelliJ IDEA"></a></p>