Learn To Program
Increase Your Knowlegde and Build Your Skill!
Pages
(Move to ...)
Home
Me
▼
Tuesday, December 21, 2010
If Else In Scala
Just type this so simple code:
scala> var x = 4
scala> if (x>5) {
| println("The First Block");
| }else{
| println("The Second Block");
| }
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment