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?
7What 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?
7What is a Companion Object in Scala? What is a Companion Class in Scala? What is the use of Companion Object in Scala?
7
Why scala is faster than java?
What is the difference between apply and unapply methods in scala?
How do you define a function in scala?
What is the diamond problem in scala?
What is flatmap in scala?
Is it a Language or Platform? Does it support OOP or FP?
Explain extend keyword?
Explain what is unit in scala?
What is Unit in Scala? What is the difference between Java’s void and Scala’s Unit?
What is method overloading in scala?
Explain ‘Scala higher order’ functions?
How do we implement loops functionally? What is the difference between OOP and FP style loops?
What are the Scala Features?
Is Scala Statically-Typed Language?
What is a custom exception in scala?