1+1 is just a convenient way of writing 1.plus(1). This is achieved by class [Read more…]
We haven’t used any explicit static typing in the way that you’re familiar with in Java. We assigned strings and numbers to variables and didn’t care about the type. Besides this, Groovy implicitly assumes these variables to be of static type java.lang.Object.
Groovy has a language specification. It breaks down code into statements and expressions. [Read more…]
You should look for Groovy support for IDE or editor of choice if u want to code in Groovy. Some editors only support syntax highlighting for Groovy. This can make Groovy code more convenient. [Read more…]
The only prerequisite for installing Groovy is that you must first have a 1.4 or 1.5 or 1.6 JDK installed (available free from http://java.sun.com/j2se/) and the JAVA_HOME environment variable set to the location of your JDK installation.