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 the queue in the scala collection?
What are left and right in scala?
What is the difference between Java’s 'If..Else' and Scala’s 'If..Else'?
Explain if-else-if terminology?
What is the breakable method in scala?
What do you mean by option in scala and why it is used?
How to define Factory methods using object keyword in Scala? What is the use of defining Factory methods in object?
What are the advantages of scala over java (java 8)?
What is the equivalent construct of Scala’s Option in Java SE 8? What is the use of Option in Scala?
What is Unit in Scala? What is the difference between Java’s void and Scala’s Unit?
When can you use traits?
What is method overriding in scala?
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?
Explain what is Scala?
What is the main motto of Scala Language?