Is there a way to extends another class from an Anonymous class in Scala? I means something like
abstract class Salutation { def saybye(): String = \"Bye\"
You need to do:
val hello = new Salutation { def sayhello(): String = "hello" }