Visibility of properties in scala class

Posted by isola009 on Stack Overflow See other posts from Stack Overflow or by isola009
Published on 2010-06-10T08:14:28Z Indexed on 2010/06/10 8:43 UTC
Read the original article Hit count: 296

Filed under:
|
|
|

I defined a property in the constructor of my class the following way:

class Step(val message:String = "")

When I try access to message value from Java code y get a visbility error. Why?

© Stack Overflow or respective owner

Related posts about java

Related posts about properties