Classes & Objects

Let's get started with Classes and Objects. Classes are the fundamental templates we use to create objects in memory which reflect the business glossary of the problem we're trying to solve. This article at Scala-lang.org demonstrates many features of Scala classes.

In addition, singleton objects in Scala implement a pattern that is very common in many languages. Singleton objects are created without a class declaration. Examples can be found here.

Ready to move on? Test your knowledge on Classes and Objects.