Author: Durgesh Gupta

Scala Trait: The Magnificent feature that enables Multiple Inheritance

Reading Time: 5 minutes In this blog, we will discuss Scala Trait and how it helps us to implement multiple inheritance in Scala and to increase code reusability. What is Trait? According to the dictionary, a Trait is a distinguishing property or feature, typically one belonging to a person or genetically determined characteristics. In Scala, Trait encapsulates methods and field definitions that can be re-used by extending them into Continue Reading