Explain the main difference between List and Stream in Scala Collection API? How do we prove that difference? When do we choose Stream?
7What is the equivalent construct of Scala’s Option in Java SE 8? What is the use of Option in Scala?
7What is the difference between :: and #:: in Scala? What is the difference between ::: and #::: in Scala?
7What is Option in Scala? What are Some and None? What is Option/Some/None Design Pattern in Scala?
7
What is a monad in scala?
What are streams in scala?
What is the use of ‘yield’ keyword in Scala’s for-comprehension construct?
What is an abstract class in scala?
What is an Expression? What is a Statement? Difference between Expression and Statement?
Like Java’s java.lang.Object class, what is the super class of all classes in Scala?
What is string in scala?
Which scala library is used for the functional programming?
What is the use of Auxiliary Constructors in Scala?Please explain the rules to follow in defining Auxiliary Constructors in Scala?
Explain how to create arrays?
What is a monad in scala? Explain
Explain the scope provided for variables 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?
How many operators are there in Scala and Why?
What is a ‘Scala set’? What square measure ways through that operation sets square measure expressed?