All quizzes
Free quiz · 26 questions in the bank

Scala quiz

Test your Scala knowledge with a free interactive quiz — 26 questions with answers and explanations. No signup needed to play.

Question 1/12Score 0

What is the difference between `val` and `var`?

In this round
  1. What is the difference between `val` and `var`?
  2. What is a `trait` in Scala?
  3. What is a `case class`?
  4. What is string interpolation in Scala?
  5. What does an immutable `List` in Scala look like to construct?
  6. What is Scala's relationship to Apache Spark?
  7. What is a higher-order function?
  8. What is a `for` comprehension in Scala?
  9. What is the difference between `map` and `flatMap`?
  10. What does Scala's `match` expression do?
  11. What does `map` do on a collection?
  12. How do you define a function in Scala?
Gaps to close?
Read the curated Scala notes — core concepts, patterns, interview prep.
Scala notes

More quizzes

.NETAccessibilityAgileAgile MethodologyAirflowAkka