I don\'t understand why sometimes class are created inside an object in Scala, just like the following code shows. Can someone please help! Thanks a lot!
obje