GMgKe586q6suSQnyqZLlGCooeWM

Pages

Search

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");
     | }    
Share/Bookmark

No comments:

Post a Comment