Inheritance is an (Is-A) Relationship.
+ Inherited publicly
+ Inherited protectively
+ Inherited privately
(e.g. A dog is inherited from the parent class animal)

Object Orienting Programming mimics real-world objects.
When we consider real-world objects, the most complicated thing that arises is relationships. …

Complex systems should be restricted to simplistic visualization of functionality,

behavior, and relationships.

Break down use case diagrams into four different elements


A system is whatever you’re developing.

You represent a system with a rectangle and put the name of the system at the top


Depicted by a…

So for instance if we are asked to calculate the divisibility of the summation between two different numbers inclusively, we can adopt the following procedure:

First, we will include our boilerplate code:

#include <iostream>

using namespace std;

int main()


return 0;


After that we will declare four int…

Hi. My name is Haris Iftikhar. I’m a normal teenage boy who happens to be brought up in the US. I used to study in New Jersey during my childhood. Due to a lack of domestic background me and my family flew back to our native country Pakistan. It was…

Haris Iftikhar

Developer and Content Writer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store