title: Why sealed modifier cannot be used with object in Kotlin?
body: <p>Why <code>sealed class User</code> compiles successfully but <code>sealed object User</code> throws a compilation error?</p>
  
  <p>I went through Kotlin docs but got nothing. I am playing a bit with Kotlin and just wanted to know the reason behind this?</p>