title: Difference between object and class in Scala
body: <p>I'm just going over some Scala tutorials on the Internet and have noticed in some examples an object is declared at the start of the example.</p>
  
  <p>What is the difference between <code>class</code> and <code>object</code> in Scala?</p>