Watch This Video
-----------------------------------------------------------------------------http://groovy-lang.org/objectorientation.html#_annotation
import groovy.transform.Immutable
@Immutable
class Custmer{
String first.last
int age,
Date since,
collection favItems
}
No comments:
Post a Comment
Note: only a member of this blog may post a comment.