Embed presentation
Download to read offline

















Case classes in Scala automatically add parameters as members, methods for equals, hashCode and toString, and pass attributes through the constructor with public access. Pattern matching allows matching on types using case classes, and uses "_" as a wildcard. Pattern matching provides functionality to match on types in case classes.















