How it comes that I instantiate an abstract class?
abstract class A { val a: Int } val a = new A {val a = 3}
Or is some concrete cla
Scala allows you to create not only anonymous functions but anonymous classes too.
What you have done is simular to
class Anon extends A { val a = 3 }
but without Anon name
Anon