Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- object Arity0 {
- def myPropety = "Property" //> myPropety: => String
- def myMethod() = "Method" //> myMethod: ()String
- //myField() -- doesn't work
- myMethod //> res0: String = Method
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement