Scala For

原創轉載請註明出處:http://agilestyle.iteye.com/blog/2333012   package org.fool.scala.basic object ScalaFor extends App { var result = "" for (i <- 0 to 9) result += i + " " // 0 1 2 3 4 5 6 7 8 9
相關文章
相關標籤/搜索