Single Responsibility Principle (SRP): This says that each class or block of code (method) should have a single responsibility to accomplish the task. Means, there should be only one reason in the future to change the existing class or block of the code and that should be the purpose of that code when you have created it.
Today, we will learn about Inheritance in typescript which is one pillar of Object Oriented Programming. We will see different examples of how to implement inheritance in TypeScript.
Pages : 1