Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Revisiting OOP Concepts in Scala

via CodeSignal

Overview

Essential OOP concepts in Scala 3, including classes, objects, inheritance, polymorphism, and encapsulation, form the cornerstone of object-oriented design and programming. Mastering these concepts is crucial for understanding and effectively utilizing design patterns.

Syllabus

  • Unit 1: Understanding Classes, Objects and Case Classes in Scala
    • Add a Data Member to a Case Class in Scala
    • Identifying and Fixing Bugs in Scala Case Classes
    • Complete the Film Class Definition
    • Enhancing Album Case Class with Scala Copy Method
    • Implementing a Simple Person Class in Scala
  • Unit 2: Encapsulation in Scala: Protecting and Managing Data
    • Encapsulation with Getter and Setter Methods in Scala
    • Encapsulation Practice with Superhero Class
    • Encapsulation with Minimum Price Constraint
  • Unit 3: Inheritance in Scala: Building on Strong Foundations
    • Adding University Information to Inherited Student Class
    • Fixing Inheritance Display Bug in Scala
    • Modify Employee Class with Employee ID in Scala
    • Expanding the Class Hierarchy with GraduateStudent
    • Inheritance and Method Overriding in Scala 3
  • Unit 4: Understanding Abstract Classes and Traits in Scala
    • Adding Descriptions to Shape Classes in Scala
    • Fixing Trait Implementation in Scala
    • Exploring Polymorphism with Equilateral Triangle in Scala
    • Implementing Traits with Abstract Methods in Scala
  • Unit 5: Polymorphism in Scala: Unifying Flexibility and Reusability
    • Adding an Introduce Method to Scala Traits and Classes
    • Creating a Researcher Class for Polymorphism Practice in Scala
    • Practice Polymorphism with Scala Class Hierarchy
    • Polymorphism with Device Hierarchy in Scala

Reviews

Start your review of Revisiting OOP Concepts in Scala

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.