Scala Interview Questions
Questions Answers Views Company eMail

What is object in Scala? Is it a singleton object or instance of a class?

7

What is the main design decision about two separate keywords: class and object in Scala? How do we define Instance members and Static members in Scala?

7

How many values of type Unit have in Scala?

7

What is the use of ‘yield’ keyword in Scala’s for-comprehension construct?

7

What is call-by-name? Does Scala and Java support call-by-name? What is the difference between call-by-value and call-by-name function parameters?

7

Which IDEs support Play and Scala-Based Applications Development and how?

7

What is an Higher-Order Function (HOF)?

7

What are the differences between Case class and Normal Class?

7

What is a Companion Object in Scala? What is a Companion Class in Scala? What is the use of Companion Object in Scala?

7

When compare to Normal Class, What are the major advantages or benefits of a Case-class?

7

What are the Scala Features?

7

What is 'Type Inference' in Scala?

7

What is Unit in Scala? What is the difference between Java’s void and Scala’s Unit?

7

How Scala solves Inheritance Diamond Problem automatically and easily than Java 8?

7

What is ‘scala trait’ in scala?

7


Post New Scala Questions

Un-Answered Questions { Scala }

What is apply method in Scala? What is unapply method in Scala? What is the difference between apply and unapply methods in Scala?

7


How does yield work in scala?

1


How does it work under-the-hood, when we create an instance of a Class without using ‘new’ keyword in Scala? When do we go for this approach?

7


What is the function parameter with a default value in scala?

1


Like Java, what are the default imports in Scala Language?

7


What do you mean by a scala map?

1


What is the main design decision about two separate keywords: class and object in Scala? How do we define Instance members and Static members in Scala?

7


How can you format a string?

7


What is function currying in Scala?

7


What are streams in scala?

1


Why do we use =(equal) operator in scala function?

1


What is scala option?

1


How scala is different from java?

1


What do you mean by a case class in scala?

1


What are the Scala variables?

7