Courses
Tutorials
Interview Prep
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
Similar Topics
Web Technologies
32.1K+ articles
C++
3.8K+ articles
Difference Between
3.1K+ articles
C++ Programs
1.5K+ articles
cpp-containers-library
93+ articles
cpp-inheritance
28+ articles
C++-Class and Object
27+ articles
C++-Virtual Functions
12+ articles
access modifiers
11+ articles
Inheritance
9+ articles
C++-Inheritance
8 posts
Recent Articles
How to Implement Interfaces Using Abstract Class in C++
Last Updated: 06 August 2025
C++ doesn't have built-in functionality of interfaces like other programming languages such as Java. However, interfaces can be implemented in C++ using the abstract class...
read more
C++ Programs
C++
Picked
cpp-virtual
cpp-inheritance
C++-Inheritance
C++-Virtual Functions
Abstract Class and Interface
CPP Examples
How to Create a Derived Class from a Base Class in C++?
Last Updated: 23 July 2025
In C++, one of the fundamental concepts of Object Oriented Programming (OOPS) is inheritance, allowing users to create new classes based on existing classes. The class tha...
read more
C++ Programs
C++
Picked
cpp-class
cpp-inheritance
C++-Class and Object
C++-Inheritance
CPP Examples
Difference between Base class and Derived class in C++
Last Updated: 12 July 2025
Base Class: A base class is a class in Object-Oriented Programming language, from which other classes are derived. The class which inherits the base class has all members ...
read more
Difference Between
C++
cpp-inheritance
C++-Inheritance
Inheritance
Runtime Polymorphism in various types of Inheritance in C++
Last Updated: 12 July 2025
C++ allows users to use the concept of Run-Time Polymorphism using Virtual Functions for any type of Inheritance . Below is how to implement Run-Time Polymorphism in all t...
read more
C++ Programs
C++
C++-Inheritance
C++-Virtual Functions
Virtual base class in C++
Last Updated: 07 August 2025
Virtual base classes are used in virtual inheritance in a way of preventing multiple "instances" of a given class appearing in an inheritance hierarchy when using multiple...
read more
C++
C++-Class and Object
C++-Inheritance
Containership in C++
Last Updated: 09 October 2019
We can create an object of one class into another and that object will be a member of the class. This type of relationship between classes is known as containership or has...
read more
C++
C++-Class and Object
C++-Inheritance
cpp-containers-library
Visibility Modes in C++ with Examples
Last Updated: 11 July 2025
When a base class is derived by a derived class with the help of inheritance, the accessibility of base class by the derived class is controlled by visibility modes. The d...
read more
C++
access modifiers
C++-Inheritance
Object-Oriented Design (OOD) - System Design
Last Updated: 08 December 2025
Object-oriented design (OOD) is a programming technique that solves software problems by building a system of interrelated objects. It makes use of the concepts of classes...
read more
Misc
Design Pattern
Picked
System Design
cpp-inheritance
Java-Object Oriented
C++-Inheritance
Inheritance