title: Case Classes with optional fields in Scala
body: <p>For example, I have this case class:</p>
  
  <pre><code>case class Student (firstName : String, lastName : String)
  </code></pre>
  
  <p>If I use this case class, is it possible that supplying data to the fields inside the case class are optional? For example, I'll do this:</p>
  
  <pre><code>val student = new Student(firstName = "Foo")
  </code></pre>
  
  <p>Thanks!</p>