Groovy - Logical Branching and Looping

//Groovy supports the usual if - else syntax
def x = 3

if(x==1) {
println "One"
} else if(x==2) {
println "Two"
} else {
println "X greater than Two"
}

Comments

Popular posts from this blog

தீபம் பிளக்ஸ்

தட்டு வண்டியில் காளிக்கோயில் - சிறுகதை

காது புடி வாத்தியார்