The place for the import

Report a typo

Correct the imports in the following program so that the code compiles.

Sample Input 1:

Sample Output 1:

Write a program in Scala 3
object MyWorld:
import scala.collection.mutable
val animals = mutable.Seq("cat", "dog", "frog")

object AnotherWorld:
val birds = mutable.Seq("pigeon", "flamingo")
___

Create a free account to access the full topic