Classes and Design

Abstract Classes

What abstract classes are for and how they support abstraction in OOP.

What Are Abstract Classes in OOP?

In object-oriented programming, an abstract class is a base class that cannot be instantiated on its own. Here is what that means in Java, C#, Python and C++.

2 min read

What Are the Three Types of Abstraction?

Abstraction in programming is often split into three types: data, control and procedural. Here is what each one means, with a short C++ example for each.

2 min read

What Does an Abstract Class Do?

An abstract class defines a shared interface, blocks direct object creation and forces derived classes to fill in key functions. Here is how that works in C++.

2 min read

Related topics

More in classes and design