Join Exercism’s Groovy Track for access to 66 exercises with automatic analysis of your code and personal mentoring, all 100% free.
class Greeter {
def name
Greeter(String name) {
this.name = name
}
def greet() {
print "Hello, ${name}!"
}
}
new Greeter('World').greet()
Get better at programming through fun, rewarding coding exercises that test your understanding of concepts with Exercism.
Convert a number, represented as a sequence of digits in one base, to any other base.
Exercism's classic introductory exercise. Just say "Hello, World!".
Manage a player's High Score list.
Easy to learn if coming from Java
Integrates seamlessly with the Java ecosystem
Ideal for web applications, scripting, testing, automation, and code analysis
Lends itself to creating domain-specific languages for readable business rules
An object-oriented language with functional programming features
Has type inference and metaprogramming, along with static compilation
Every language has its own way of doing things. Groovy is no different. Our mentors will help you learn to think like a Groovy developer and how to write idiomatic code in Groovy. Once you've solved an exercise, submit it to our volunteer team, and they'll give you hints, ideas, and feedback on how to make it feel more like what you'd normally see in Groovy - they'll help you discover the things you don't know that you don't know.
Learn more about mentoringThe Groovy track on Exercism has 66 exercises to help you write better code. Discover new exercises as you progress and get engrossed in learning new concepts and improving the way you currently write.
See all Groovy exercisesThe best part, it’s 100% free for everyone.