Home > OOP

Subscript Operator Overloading

Why is Subscript operator used? We use Subscript operator [ ] to access elements of arrays. We pass an index ...
Read More

Operator Overloading in C++

Operator Overloading c++ Different types of operators are available in C++. The definition for these operators remains same for already ...
Read More

Template Classes & Functions

Templates in c++ Templates laid the foundation of generic programming. i.e. writing your code in a way that it is ...
Read More

Exception Handling in C++

C++ Exception Handling A C++ exception is a problem or issue that may arise during execution of a program. i.e. at runtime ...
Read More

Filing in C++

Filing in C++ C++ allows to read and write to the console using cout and cin from the standard library ...
Read More

Friend Class and Friend Function in C++

C++ Friend Function One of the most important features of Object-oriented programming is data hiding. It means that you cannot ...
Read More

Accessor and Mutator in C++

One of the main features of Object Oriented programming is Encapsulation which allows users to specify labels for each its ...
Read More

Polymorphism in C++

Polymorphism is the combination of two words poly (many) and morphs (shapes), thus meaning many shapes. It is a phenomenon ...
Read More

Function Overriding in C++

What is Function overriding in c++? In C++ inheritance allows users to derive one or more classes from a class ...
Read More

Function Overloading in C++

Function overloading means that more than one functions of the same name within the same scope. C++ allows us to ...
Read More

Containership in C++

What is containership in c++? Aggregation in c++ or containership or nesting refers to creating the object/s of a class ...
Read More

Different Types of Inheritance in C++

Different Types of Inheritance in C++ There are different types of inheritance in c++ including: Multilevel inheritance Multiple Inheritance Hierarchical ...
Read More

Inheritance in C++

Inheritance in object-oriented programming is that a class or an object is based on another class or object. I.e. it ...
Read More

Objects in C++

Generally, an object can be a variable, data structure, a function or a method. In object-oriented programming, an object is a ...
Read More

Classes in C++

What is a class in c++? In Programming, classes are user-defined data types having their own data members (variables) and ...
Read More

Object Oriented Programming in C++

We write most of our programs using functions in which a block of code can manipulate data. This is the ...
Read More
/ Object-oriented Programming, OOP, OOP