Play.kotlinlang class question

Hi,
I’m on play.kotlinlang when statement.

Everything is clear apart of class Myclass I cannot see an explanation why is that demanded? I can see that the program would not work without it but I cannot understand whats the reason.
Thanks for your help

class MyClass basically defines a new class with a default no argument constructor. The program wouldn’t work without it because then MyClass() would refer to nothing at all