- Course
Scala 2 Classes and Objects
You can advance your understanding of Scala once you learn to apply multiple concepts together. This course will teach you how to work with classes, inheritance, traits, case classes, and packaging your code among other topics.
- Course
Scala 2 Classes and Objects
You can advance your understanding of Scala once you learn to apply multiple concepts together. This course will teach you how to work with classes, inheritance, traits, case classes, and packaging your code among other topics.
Get started today
Access this course and other top-rated tech content with one of our business plans.
Try this course for free
Access this course and other top-rated tech content with one of our individual plans.
This course is included in the libraries shown below:
- Core Tech
What you'll learn
Once you start working with Scala, you can find yourself in a situation where you need to create projects, and a project needs to apply multiple language features. In this course, Scala Classes and Objects, you’ll learn to apply multiple Scala features together while developing a working bank. First, you’ll explore classes which are fundamental to object-oriented programming. Next, you'll discover traits that allow you to abstract behavior while creating rich interfaces and stackable modifications. Finally, you’ll learn how to use case classes, along with packaging your code for better code visibility and overall organization. When you’re finished with this course, you’ll have the skills and knowledge of Scala classes and objects needed to create a new project or extend an existing one.
Scala 2 Classes and Objects
-
Version Check | 10s
-
Agenda | 49s
-
Setting up IntelliJ Project | 1m 31s
-
Creating an Account Class | 2m 58s
-
Creating an Auxiliary Constructor | 1m 30s
-
Creating Private Fields and Methods | 2m 13s
-
Creating Subclasses Using Extends | 1m 42s
-
Restricting Inheritance Using Final Keyword | 2m 12s
-
Creating Abstract Classes and Overriding Members | 2m 32s
-
Overriding Behavior in Subclasses | 1m 34s
-
Creating Companion Objects | 4m 51s
-
Performing Implicit Conversions | 2m 28s