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

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

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

PCF - Cloud Foundry Overview - Starting, Restarting and Restaging applications