Friday, 8 May 2026

VIRTUAL BASE CLASSES in C++

VIRTUAL BASE CLASSES in C++ We have already learned that on “Single and Multiple Inheritance” that inheritance is a process of creating a ne...

Constructors Under Inheritance in C++

Constructors Under Inheritance in C++ It has already been pointed out that whenever an object of a class is created, a constructor member fu...

Pure Virtual Functions in C++

Pure Virtual Functions in C++ A pure virtual function is a type of function which has only a function declaration. It does not have the func...

Wednesday, 29 April 2026

LATE BINDING POLYMORPHISM in C++

LATE BINDING POLYMORPHISM in C++ Selecting functions during execution time is called late binding or dynamic binding or dynamic linkage. Lat...

POLYMORPHISM WITH POINTERS in C++

POLYMORPHISM WITH POINTERS in C++ Pointers are also central to polymorphism in C++. To enable polymorphism, C++ allows a pointer in a base c...

Polymorphism and Virtual Functions in C++

Polymorphism and Virtual Functions in C++      A true object-oriented programming paradigm must consist of three items: data abstraction and...

Thursday, 23 April 2026

OVERLOADING OF UNARY OPERATORS in C++

OVERLOADING OF UNARY OPERATORS in C++ Unary operators overloaded by member functions take no formal arguments, whereas when they are overloa...

Wednesday, 22 April 2026

OVERLOADING OF BINARY OPERATORS in C++

OVERLOADING OF BINARY OPERATORS in C++ Binary operators overloaded by means of member functions take one formal argument which is the value ...