- C++

C++ program to demonstrate simple inheritance

This program will demonstrate the simple inheritance in C++. Inheritance is the capability of a class to derive properties and characteristics from another class. Inheritance is an important concept in OOPS. More about inheritance its modes and types can be found here https://www.geeksforgeeks.org/inheritance-in-c/ . In the below code we will…

Read More

- Python

Introduction to Python Programming

Python is a general-purpose interpreted, interactive, object-oriented, and high-level programming language created by Guido van Rossum. It is ideally designed for rapid prototyping of complex applications. It has interfaces to many OS system calls and libraries and is extensible to C or C++. Many large companies use the Python programming…

Read More

- C++

Classes and Objects

Classes and Objects Classes and Objects: Class is a user defined data type just like Structures, but with the difference. It also has 3 sections namely 1.       private, 2.       public and 3.       protected. Using these, access to member variable of a class can be strictly controlled. public  : variable and…

Read More