What is a monad in scala? Explain
A Monad can be described as an object that wraps another object. In Scala, a class object is covered with a monad. Monads wrap objects and offer two operations - Identity through units, and bind through flatMap.
A Monad determines the best way to apply the program to underlying objects. A lot of recent Scala interview questions were based on this information.
BY Best Interview Question ON 08 Feb 2019