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

அவன் ஏன் கூலியானான்?

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