Object Oriented Programming in Scala - Post Series

This is my second series of posts about Scala, specifically covering Object Oriented Programming in Scala. Check out the first series, Scala - The Absolute Basics, before reading these posts.

Scala is simultaneously an object oriented AND functional programming language. In this series of posts, we will focus heavily on the object oriented features of the language.

Rock the JVM

I was inspired to write these posts after taking the outstanding Rock the JVM Scala courses by Daniel Ciocirlan. The material in these posts is heavily based on the Scala for Beginners course on Udemy, and I would highly recommend enrolling on this course. Thank you to Daniel for the work you do in producing such fantastic Scala content.

Initial Setup

If this is your first time doing any coding in Scala, I recommend you first download the Intellij IDE. The community edition is fine, and comes with Scala included.

Whenever you are writing new Scala code from these blog posts, first create a new Object by right-clicking in the Project Panel and choosing New > Scala Class . Give the file a name, and select Object.

In the new file, extend the object from App like so:

object YourNewObject extends App {


And you are ready to go!

Posts in the Series

You can view all the posts in the Object Oriented Programming in Scala series here.

Otherwise, go straight on to the first post in the series - Object Oriented Basics in Scala.