I\'m reading the java tutorial for enums located here and have a question: http://java.sun.com/j2se/1.5.0/docs/guide/language/enums.html#Card
What is Scala equivalent of Java\'s static block开发者_StackOverflow中文版 ?Code in the constructor (that is, the body) of the companion object is not precisely the same as code in a static initialise