[Scala] and statements that have no keywords

 

Scala does not break and continue two keywords

scala.util.control.Breaks._ Import 
# so you can use the break statement and breakable, break the keyword here is not, but a method used to throw an exception scala

Scala is divided into an array variable and non-variable array group, the default variable is not set

scala.collection.mutable.ArrayBuffer Import 
Val arrBUfInt = ArryBuffer [Int] ()
# using the method for introducing a variable array ArryBuffer

 

Guess you like

Origin www.cnblogs.com/guangluwutu/p/10966738.html