Interview questions

Scala interview questions – page 2

136 questions. Tap “Show answer” to check yourself.

  1. What is case object?

  2. Compare to java what are the major advantages or benefits of scala?

  3. What is unapply method in scala?

  4. What are the advantages of scala over java (java 8)?

  5. What is the difference between apply and unapply methods in scala?

  6. Explain either/left/right design pattern in scala?

  7. What is the difference between call-by-value and call-by-name function parameters?

  8. What is the current latest version of scala? What is the major change or update in scala 2.12?

  9. What is option/some/none design pattern in scala?

  10. What is the difference between :: and #:: in scala?

  11. What are left and right in scala?

  12. How do we make a call to a private primary constructor in scala?

  13. What are the advantages of case class?

  14. What are the advantages of a anonymous function/function literal in scala?

  15. When can you use traits?

  16. What are option, some and none in scala?

  17. Why scala prefers immutability?

  18. How Scala supports both Highly Scalable and Highly Performance applications?

  19. What is Option in Scala? What are Some and None? What is Option/Some/None Design Pattern in Scala?

  20. What are the Scala variables?

  21. What is the difference between :: and #:: in Scala? What is the difference between ::: and #::: in Scala?

  22. What are the four types of scala identifiers ?

  23. What is SBT? What is the best Build Tool to develop Play and Scala Applications?

  24. What are the popular MVC frameworks for Scala Language to develop Web Applications?

  25. Mention the difference between an object and a class ?

  26. What is the equivalent construct of Scala's Option in Java SE 8? What is the use of Option in Scala?

  27. What are the Popular Scala-Based Frameworks to develop RESTful Web Services or REST API?

  28. What is function currying in Scala?

  29. What are implicit parameters in Scala?

  30. What are the different types of Scala literals?

Companies that ask Scala questions