Constructors, Fields, Objects, & Inheritance
Scala 2.11.7
| Beginner
- 9 videos | 58m 27s
- Includes Assessment
- Earns a Badge
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 scalaCreate fields in scala classes, and describe behaviors of different field typesUse automatic getters in scala and override themUse automatic setters in scala and override themDeclare and use singleton objects in scala
-
Use companion objects in scalaCreate and use a subclass in scalaUse traits in scalaCreate a scala application that contains a class, a subclass, and a companion object
IN THIS COURSE
-
5m 50sLearn how to create constructors for classes in Scala. FREE ACCESS
-
5m 51sIn this video, you will learn how to create fields in Scala classes, and describe behaviors of different field types. FREE ACCESS
-
6m 12sFind out how to use automatic getters in Scala and how to override them. FREE ACCESS
-
7m 16sFind out how to use automatic setters in Scala and how to override them. FREE ACCESS
-
4m 57sIn this video, you will learn how to declare and use singleton objects in Scala. FREE ACCESS
-
5m 8sIn this video, learn how to use companion objects in Scala. FREE ACCESS
-
6m 43sDuring this video, you will learn how to create and use a subclass in Scala. FREE ACCESS
-
9m 4sIn this video, you will learn how to use traits in Scala. FREE ACCESS
-
7m 27sIn this video, you will learn how to create a Scala application that contains a class, a subclass, and a companion object. FREE ACCESS
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.