Blog Archives

Groovy console for beginner and meta programming

This assumes that you have setup groovy as per Setting up Groovy and groovysh beginner for eval exp, dynamic typing, operator overloading & closure.

Step 1: Start the groovyConsole from a command prompt

Step 2: Run the following Groovy Plain Old Object code



groovysh beginner for eval exp, dynamic typing, operator overloading & closure

This assumes that you have setup groovy as per Setting up Groovy.

#1: Running groovysh



Setting up Groovy beginner tutorial with eclipse & command-line

Groovy is a general purpose scripting language which runs on the JVM, and can be viewed as a superset of Java. There are jobs requiring Java and Groovy skills. Any “.java” file can be renamed to “.groovy” and run via the groovy. Java needs two step process like “javac” to compile and “java” to run.…



800+ Java & Big Data Interview Q&As

200+ Java & Big Data Tutorials

Top