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

CodeSignal

Revisiting OOP Concepts

via CodeSignal

Overview

Essential OOP concepts in TypeScript, 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: Classes and Objects
    • Adding a New Data Member to a TypeScript Class
    • Add a Constructor to the Book Class
  • Unit 2: Encapsulation in TypeScript
    • Encapsulating Class Properties with Getters and Setters in TypeScript
    • Enforcing Data Validation with Encapsulation in TypeScript
    • Encapsulating and Validating a Price Field in a TypeScript Class
    • Encapsulation Practice: Implementing Getters and Setters in TypeScript
    • Encapsulating Class Fields with Getters and Setters in TypeScript
  • Unit 3: Understanding TypeScript Inheritance
    • Enhancing the Student Class with Inheritance in TypeScript
    • Extending a Class and Adding Properties in TypeScript
    • Fixing Inheritance Bug: Displaying Student Major in TypeScript
    • Extending Classes with Inheritance in TypeScript
    • Implementing Inheritance with Vehicle and Car Classes in TypeScript
  • Unit 4: Polymorphism in TypeScript
    • Polymorphism with Method Overriding in TypeScript
    • Polymorphism with Method Overriding in TypeScript
    • Polymorphism with Device, Laptop, and Smartphone Classes in TypeScript
    • Polymorphism with Interfaces and Classes in TypeScript
  • Unit 5: Abstraction in TypeScript
    • Adding an Abstract Method and Implementing It in Derived Classes
    • Adding an Equilateral Triangle Class with Abstraction
    • Abstract Classes and Power Consumption in TypeScript
    • Fixing Abstract Method Implementation in TypeScript Classes
    • Implementing Abstraction with Appliances in TypeScript

Reviews

Start your review of Revisiting OOP Concepts

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.