Groovy 121

Apache Groovy is a Java-syntax-compatible object-oriented programming language for the Java platform. It is both a static and dynamic language with features similar to those of Python, Ruby, Perl, and Smalltalk. It can be used as both a programming language and a scripting language for the Java Platform, is compiled to Java virtual machine (JVM) bytecode, and interoperates seamlessly with other Java code and libraries.

Wikipedia

Features

Multi-file mode

Versions

Name Version ID Multi-file mode
2.4 1
groovy 2.5.6 3
groovy 3.0.3 5
groovy 4.0.0 6

Libraries

-

Examples

TEST problem

Sample solution to the TEST programming problem.

test_problem.groovy
test_problem.in