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.

Suggest An Answer

No suggestions avaliable!