What are the uses of underscore i.e _ in Scala?

The underscore (_) is one of the symbols used very widely in Scala. It is used as a Wild card, Place holder, Exception, Ignore etc. Module Import

Eta Expansion addAhem _ converts method addAhem into Function1. This is different…

Members Only Content

Log In Register Home

800+ Java & Big Data Interview Q&As