Get up and running with Groovy, a powerful, easy-to-use, and widely adopted language on the Java Virtual Machine (JVM) platform.
Overview
Syllabus
Introduction
- Supercharge your Java program with Groovy
- What you should know
- What is Groovy?
- Installing the JDK and Groovy
- Exploring the GroovyShell and Console
- Hello World
- 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
- Using convenience annotations
- Understanding Closures
- Working with Collections
- Reading files
- Writing files
- Challenge: Processing file contents
- Solution: Processing file contents
- Next steps
Taught by
Benjamin Muschko