Learn To Program
Increase Your Knowlegde and Build Your Skill!
Pages
(Move to ...)
Home
Me
▼
Monday, December 20, 2010
Conditional Structure In Groovy
Use conditional structure, use:
groovy>> a = 2>3
groovy>> if a {
groovy>> println "The first block executed";
groovy>> }else{
groovy>> println "The second block executed";
groovy>> }
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment