Create an array buffer just like an array, except that you do not need to specify a size. Which of the following implementation will adjust the allocated space automatically?
Correct Answer: scala> val buf = new ArrayBuffer[Int]() buf: scala.collection.mutable.ArrayBuffer[Int] = ArrayBuffer()
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Scala MCQ Questions