Abstract Class Methods

Learn about abstract class methods, their definition and implementation in derived classes, and practical applications.

We'll cover the following

Abstract class methods in TypeScript

An abstract class method is similar to an abstract class in that it is designed to be overridden. In other words, declaring a class method as abstract means that a derived class must provide an implementation of this method. For this reason, abstract class methods are not allowed to provide a function implementation.

As an example of this, let’s update the EmployeeBase class:

Get hands-on with 1200+ tech skills courses.