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
What is auxiliary constructor in scala?
What does s method in scala string interpolation?
What does set in scala collection?
What are the Java’s OOP constructs not supported by Scala? What are the Scala’s OOP constructs not supported by Java? What are the new OOPs constructs introduced by Scala, but not supported by Java?
What is Nothing in Scala? What is Nil in Scala? What is the relationship between Nothing and Nil in Scala?
How do I append data in a list?
What is this in scala?
Explain the scala anonymous function.
What is 'Application' in Scala or What is Scala Application? What is 'App' in Scala? What is the use of Scala’s App?
What is a trait mixins in scala?
Why is an option used in scala?
How do we implement loops functionally? What is the difference between OOP and FP style loops?
Explain what is unit in scala?
What is the difference between Java’s 'If..Else' and Scala’s 'If..Else'?
How to create arrays in scala?