Rabecca Fatima

Virtual Functions in C++

A virtual function is a member function declared in a base class that is re-defined (overridden) by a derived class.…

3 years ago

Method Overriding(Polymorphism)

What is Polymorphism? The term "polymorphism" refers to having multiple forms. Polymorphism is defined as the ability of a message…

3 years ago

Upcasting in C++

Upcasting is the process of creating the derived class's pointer or reference from the base class's pointer or reference. It…

3 years ago

Order of Constructor Call in C++

If we inherit a class from another class and create an object of the derived class, it is obvious that…

3 years ago

Types of Inheritance in C++

There are 5 types of Inheritance in C++: Single inheritanceMultiple inheritanceHierarchical inheritanceMultilevel inheritanceHybrid inheritance Single Inheritance: A class derives from…

3 years ago

Inheritance in C++

Inheritance refers to a class's ability to derive properties and characteristics from another class. One of the most important aspects…

3 years ago

Class Members Pointers in C++

A pointer to a C++ class is created in the same way that a pointer to a structure is created,…

3 years ago

Copy Constructor in C++

A copy constructor is a type of constructor that creates a copy of another object. If we want one object…

3 years ago

References in C++

C++ references allow you to give a variable a second name that you can use to read or modify the…

3 years ago

Mutable keyword in C++

Mutable data members are those whose values can be changed in runtime even if the object's type is constant. It…

3 years ago