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

Execute it as a Groovy script.

Read more ›



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

You can now type your expressions on the “groovy:000>” prompt like

Q1. What is the “====> null” after printing “Hello Groovy”?

Read more ›



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”

Read more ›



800+ Java Interview Q&As

Prepare to fast-track & go places
with multi-offers to choose from & increased earning potential. Expand your horizons along the way by taking the road less travelled.
Learn by categories on the go...
Learn by categories such as FAQs – Core Java, Key Area – Low Latency, Core Java – Java 8, JEE – Microservices, Big Data – NoSQL, etc. Some posts belong to multiple categories.
Top