Pergunta de entrevista da empresa ABC

what is an abstract class?

Resposta da entrevista

Sigiloso

15 de fev. de 2024

An abstract class in object-oriented programming serves as a blueprint or template for other classes to inherit from. It cannot be instantiated on its own and typically contains one or more abstract methods, which are methods without a body. Abstract classes are meant to be extended by other classes, which then provide implementations for the abstract methods.