Groovy hello world (#26908)

* Groovy hello world

* Added code formatting
This commit is contained in:
John Folder
2019-02-13 20:57:30 +11:00
committed by Manish Giri
parent ed2d5f09ab
commit 260426f3e2

View File

@ -4,6 +4,17 @@ title: Groovy
## Groovy ## Groovy
Apache Groovy or Groovy is a powerful and dynamic language with static compilation and typing capabilities for the Java platform and was designed to increase productivity with its concise and familiar syntax. It integrates with any Java program with ease. Apache Groovy or Groovy is a powerful and dynamic language with static compilation and typing capabilities for the Java platform and was designed to increase productivity with its concise and familiar syntax. It integrates with any Java program with ease.
### Hello World
Try the traditional "Hello World" example below:
```groovy
class helloWorld {
static void main(String[] args) {
// Use a simple println statement to print hello world to the console
println('Hello World');
}
}
```
#### More Information: #### More Information:
- [Groovy's Official Website](http://groovy-lang.org) - [Groovy's Official Website](http://groovy-lang.org)
- [Wikipedia: Apache Groovy](https://en.wikipedia.org/wiki/Apache_Groovy) - [Wikipedia: Apache Groovy](https://en.wikipedia.org/wiki/Apache_Groovy)