devxlogo

Concrete Class

Concrete Class

Question:
What is a concrete class?

Answer:
A class that is neither derived from another class nor is meant to serve as the base for other classes is a concrete class. Concrete classes have no virtual member functions or protected members.

They are widely used in object-based languages (such as Ada83). However, even in object oriented languages such as C++, they are still useful: string, complex, and vector are examples of concrete classes in C++. The opposite of a concrete class is an abstract class.

See also  The Importance of Data Security in Hospitality
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist