Questions

  1. Describe two ways to make it possible for some resource, R, to use it together with scala.util.Using resource management utility. 
  2. How can an instance of a Set and an instance of a List be compared to each other?
  3. Name the default concrete implementation for an immutable Seq.
  4. Name the default concrete implementation for an immutable indexed Seq.
  5. Name the default concrete implementation for a mutable Seq.
  6. Name the default concrete implementation for a mutable indexed Seq.
  7. It is sometimes said that List.flatMap is more powerful than it was expected to be. Can you explain why?
  8. Describe a way to map over a collection multiple times using different functions but without producing intermediate collections.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.224.56.29