Watch This Video
--------------------------------------------------------------------------------------http://groovy-lang.org/objectorientation.html#_class
class Developer{
String first
String last
def languages=[]
void work()
{
println "$first $last is working..."
}
}
No comments:
Post a Comment
Note: only a member of this blog may post a comment.