RosettaCodeData/Task/String-concatenation/Groovy/string-concatenation.groovy

6 lines
84 B
Groovy
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
def s = "Greetings "
println s + "Earthlings"
def s1 = s + "Earthlings"
println s1