This mechanism is used in arrays and maps. For example, val scores = new scala.collection.mutable.HashMap[String, Int] scores("Bob") = 100 // Calls ...
確定! 回上一頁