Scala Classes and Objects
In this tutorial, you will learn about the fundamental notions of object-oriented programming in Scala: classes and objects.
5 scala tutorials
Hands-on Scala tutorials, walkthroughs, and reference guides written by practitioners.
In this tutorial, you will learn about the fundamental notions of object-oriented programming in Scala: classes and objects.
Learn about the basics of methods, named arguments, default parameter values, variable arguments in addition to different kinds of functions.
Learn about the use of traits in Scala with the help of syntactic examples.
Learn about Scala's variables, rules for defining variables, different types of variables with multiple declaration and assignments along with the scope of a variable.
In this tutorial, you will learn about the fundamental notions of object-oriented programming in Scala: classes and objects.
Learn what lists are and how they can be leveraged in the Scala programming language.