Question · JavaScript and TypeScript course · Module 7: Advanced TypeScript
Abstract Classes
What is an abstract class in TypeScript?
Answer options
- A class without any methods
- A class that cannot be directly instantiated - serves as a base for derived classes
- A class accessible only in one module
- A class automatically generated by the compiler
You can check the correct answer by solving this task in the CodeWorlds game.