This course guides you through the core concepts of Object-Oriented Programming (OOP) in Scala. Learn about classes, objects, properties, and methods. Master constructors, encapsulation, inheritance, polymorphism, and traits. Through practical exercises, gain the skills to effectively design and manipulate complex programs using OOP principles.
Overview
Syllabus
- Lesson 1: Understanding Object-Oriented Programming with Scala
- Exploring the Sports Store Inventory
- Updating the Football Brand to Puma in Scala
- Fix the Squash Ball Inventory Program
- Bouncing Basketball Class in Scala
- Managing Inventory with Scala Classes
- Lesson 2: Constructors and Initialization in Scala
- Exploring Scala Constructors and Class Properties
- Refactoring Bicycle Class for Property Mutability in Scala
- Accessing Scala Class Parameters
- Creating Vehicle Instances in Scala
- Scala Class Construction and Method Invocation
- Lesson 3: Encapsulation in Scala: Implementing Data Protection and Control
- Savings Account Encapsulation in Scala
- Visibility Adjustment in Scala's PiggyBank Class
- Refining Savings Account Logic in Scala
- Implementing Custom Accessors in Scala
- Encapsulating Savings in Scala: Building a PiggyBank Class
- Lesson 4: Inheritance and Polymorphism in Scala
- Canine Sounds of Happiness
- Enriching the Dog Class with a Bark Method
- Inheritance in Scala: Implement the Dog Class
- Scala Inheritance and Method Overriding: Debugging the Dog Class
- Animal Sounds in Scala: Implement Dog Speak Method
- Scala Pets: Modeling Inheritance
- Lesson 5: Scala's Abstract Classes, Traits, and Companion Objects
- Scala Automobile Factory Simulator
- Enhancing the Drive Method in Scala
- Fixing the Vehicle Count in Factory Management System
- Implementing an Abstract Class in Scala
- Scala Vehicle Tracking System Development
- Implementing a Car Class with Trait and Abstract Class in Scala
- Lesson 6: Understanding Object-Oriented Programming in Scala
- Exploring Inheritance and Polymorphism in Scala
- Inheritance and Method Overriding in Scala
- Implementing Inheritance and Methods in Scala
- Scala Class Hierarchy for Employee Management