adspace


What is inheritance in typescript?

Answer Posted / Sandhya Pal

In TypeScript, inheritance is a way to establish a relationship between classes such that the derived class (subclass or child class) acquires properties and methods from the base class (superclass or parent class). This allows for code reuse and simplifies complex structures by breaking them down into smaller, more manageable parts.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Who developed typescript and what is the current stable version of typescript?

280


What is the current stable version of typescript?

322