Object Oriented Programming

Polymorphism in C++

Polymorphism in C++

Simply speaking, polymorphism is the ability of something to be displayed in multiple forms. Let’s take a real life scenario; a person at the same…

An Introduction to C++

The goal of these columns is to explore object-orientation through practical object-oriented programming. This time, we look at C++, but in the future we will…

Inheritance

In real life inheritance is what we acquire from our parents. For example our lifestyle, way of talking etc... In Object Oriented Programming Inheritance is…

Object Oriented Programming Techniques

Any program which uses these five methodologies or any of it, we can call that program object oriented. They are Encapsulation, Data Hiding, Overloading, Polymorphism,…

Introduction to Classes in C++

A class is an organisation of data and functions which operate on them. Data structures are called data members and the functions are called member…

Data Protection in C++ – Object Oriented Programming Concept

This is a very basic C++ program that demonstrates data protection in a very simple way. Data protection in Object Oriented Programming is controlling access…

Object Oriented Programming (OOP)

For a programming language to be considered Object-Oriented, it must support the concept of objects (abstract data types), inheritance, and polymorphism. In simple terms, OOP…