cpuheater.com
Intermediate Scala Interview Questions and Answers - CPUheater
Question 1 What is the use of lazy val ? In Scala we use lazy keyword to define a value as being lazy, meaning that it is evaluated only once, when it’s accessed. [crayon-5dae1e2dcc7b7454048911/] Question 2 What is a partially applied function ? In Scala we do not have to provide all expected arguments to …