Pergunta de entrevista da empresa Spectrum

What's a case class and why would one use it?