What is the LEAST true statement for an actor akka ?
Answer
Communicates using messages
Used for concurrency management
Asynchronous and non-blocking
Used for parallel programming
Question 4
Question
Future.successful(10)
Future.successful(20)
The above mentioned 2 futures run on two different threads ?
Answer
True
False
Question 5
Question
val mySeq = Seq("Hello world", "How are you doing", "See you soon")
val mySeqMap = mySeq.map(_.split(" ")).filter(_.length > 3)
val mySeqFlatMap = mySeq.flatMap(_.split(" ")).filter(_.length > 3)
What are the possible values of mySeqMap and mySeqFlatMap respectively ?