Type Here to Get Search Results !

What is the term for a class that cannot be instantiated and is meant to be subclassed?

0

 What is the term for a class that cannot be instantiated and is meant to be subclassed?

A) Concrete class.
B) Interface.
C) Abstract class.
D) Static class.

Answer: C) Abstract class.

Explanation: An abstract class is a class that cannot be instantiated directly. It is designed to be subclassed, allowing derived classes to provide implementations for the abstract methods defined in the abstract class. This establishes a base for other classes while enforcing a contract for method implementations.

Post a Comment

0 Comments