A common way to iterate over a Scala List is with the foreach method. ... String] = Vector(Bob, Fred, Joe, Julia, Kim) scala> for (name ...
確定! 回上一頁