Intermediate TypeScript
Q64 / 100

What is an abstract class used for in TypeScript?

Correct! Well done.

Incorrect.

The correct answer is A) A class that cannot be instantiated directly and may define abstract methods to be implemented by subclasses

A

Correct Answer

A class that cannot be instantiated directly and may define abstract methods to be implemented by subclasses

Explanation

Abstract classes serve as base classes that cannot be instantiated; abstract methods declared in them must be implemented by derived classes.

Progress
64/100