title: Definition of literal (Java)
body: <p>According to the JLS 3.10 
  <a href="https://docs.oracle.com/javase/specs/jls/se12/jls12.pdf" rel="nofollow noreferrer">https://docs.oracle.com/javase/specs/jls/se12/jls12.pdf</a></p>
  
  <blockquote>
    <p>A literal is the source code representation of a value of a primitive
    type (§4.2), the String type (§4.3.3), or the null type (§4.1).</p>
  </blockquote>
  
  <p>What about Class object literals? or array literals? etc</p>