Introduction
Supercharge your Java program with Groovy
()
What you should know
()
1. Getting Started
What is Groovy?
()
Installing the JDK and Groovy
()
Exploring the GroovyShell and Console
()
Hello World
()
2. Groovy Basics
Groovy and Java
()
Variables and data types
()
Classes and methods
()
Conditional structures and loops
()
Exception handling
()
Using the GDK documentation
()
Challenge: Creating and using a class
()
Solution: Creating and using a class
()
3. Beyond the Basics
Using convenience annotations
()
Understanding Closures
()
Working with Collections
()
Reading files
()
Writing files
()
Challenge: Processing file contents
()
Solution: Processing file contents
()
Ex_Files_Learning_Groovy.zip
(33 KB)