Tutorials
Courses
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
DSA
22.8K+ articles
C++
4.3K+ articles
Difference Between
3.6K+ articles
C++ Programs
2.4K+ articles
cpp-containers-library
93+ articles
cpp-inheritance
28+ articles
C++-Class and Object
27+ articles
C++-Virtual Functions
12+ articles
Inheritance
9+ articles
C++-Inheritance
8 posts
Recent Articles
Popular Articles
Object-Oriented Design (OOD) - System Design
Last Updated: 03 January 2025
A crucial method for system design is object-oriented design (OOD), which places an intense focus on scalability, modularity, and reusability. OOD resembles real-world sys...
read more
Misc
Design Pattern
Picked
System Design
cpp-inheritance
Java-Object Oriented
C++-Inheritance
Inheritance
Visibility Modes in C++ with Examples
Last Updated: 01 November 2023
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
Technical Scripter
Programming Language
C++
DSA
access modifiers
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
Virtual base class in C++
Last Updated: 11 October 2024
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++
DSA
C++-Class and Object
C++-Inheritance
Runtime Polymorphism in various types of Inheritance in C++
Last Updated: 16 April 2020
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
Difference between Base class and Derived class in C++
Last Updated: 22 March 2023
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
How to Create a Derived Class from a Base Class in C++?
Last Updated: 18 March 2024
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
How to Implement Interfaces Using Abstract Class in C++
Last Updated: 27 June 2024
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
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !