Daily scala

A short daily dose of scala examples and occasionally explanations.

Showing posts with label constructor. Show all posts
Showing posts with label constructor. Show all posts
Monday, February 1, 2010

Temporary variables during object instantiation

›
In Java a common pattern with class constructors is to assign field values and often there are several intermediate values used for the calc...
6 comments:
Monday, November 2, 2009

Multiple Constructors

›
In Scala there is a primary constructor: class  MyClass(constructorParam:Any) . Unlike Java, that constructor must be called. The questio...
›
Home
View web version

About Me

Unknown
View my complete profile
Powered by Blogger.