SpiceQA
Questions
Tags
Users
Badges
In Scala how do you write a init function?
user_1290668
0
Created Jul 24, 2012
Edited Jul 24, 2012
Viewed 11164
Follow
For example, in Ruby I can write
def initialize(price) @Current_price = price end
initialization
scala
8
0
Add comment
+
Share
1 Answers
Related