I want to translate the following piece of code from Java to Scala:

Foo foo = new Foo() { private static final long serialVersionUID = 12345L; }

Class Foo is an abstract class.

How does the equivalent code look like in Scala?

Edit
Report