Groovy classes
Defined class, create instance, call method
examples/groovy/simple_class.groovy
class Example { def hello() { println("Hello World") } } e = new Example() e.hello()
Published on 2019-04-09
If you have any comments or questions, feel free to post them on the source of this page in GitHub. Source on GitHub.
Comment on this post