Traits: The Scala Way of Multiple Inheritance
Reading Time: 3 minutes Hi community, in this blog we are gonna talk about the Traits and how Scala Traits can help you while performing multiple inheritances. What are Traits? Scala does not allow the concept of multiple inheritances for more than one class, so to do multiple inheritances Scala uses Traits A trait is a fundamental unit of code reuse in Scala. A trait holds the definitions of Continue Reading