Introduction to Groovy
First step into Groovy, the simple scripting language of the JVM: printing with println and comments.
Simple enough for a 5-year-old to understand
print with println
Groovy is simple: classes/main and semicolons are not required. println prints to the screen and moves to the next line.
println "Hello!"Comment line
// This is a comment — does not run.println "Code is here"🎯 Exercise & Practice
Test what you've learned — answer, write code, check instantly. (1 left)
🎯 Expected output: Hello World