Constructors, Fields, Objects, & Inheritance

Scala 2.11.7
  • 9 Videos | 1h 2m 27s
  • Includes Assessment
  • Earns a Badge
Likes 17 Likes 17
Scala is an object-oriented programming language, so one of the main constructs is a class. Examine classes in Scala, including constructors, fields, objects, and inheritance.

WHAT YOU WILL LEARN

  • create constructors for classes in Scala
    create fields in Scala classes, and describe behaviors of different field types
    use automatic getters in Scala and override them
    use automatic setters in Scala and override them
    declare and use singleton objects in Scala
  • use companion objects in Scala
    create and use a subclass in Scala
    use traits in Scala
    create a Scala application that contains a class, a subclass, and a companion object

IN THIS COURSE

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Likes 40 Likes 40  

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Likes 33 Likes 33  
Likes 38 Likes 38  
Likes 19 Likes 19