Home »
Code Examples »
Groovy Code Examples
Groovy Multiline comment Code Example
The code for Groovy Multiline comment
/* Multiline comments can be written within these characters
This is the second line
This is the third line,
And, so on...*/
println "Hello, world!" /* The multiline comment starting
at the end of a statement */
println 8 /* one */ + 3 /* two */
Code by Shivang Yadav, on July 24, 2022