EXPERIMENT 3: oops lab

EXPERIMENT 3: Program to Find greatest no using Inheritance . INHERITANCE: Inheritance is a process of creating new class from existing classes. New      class inherit some of the properties and behavior of the existing class.An exixting class That is “parent” of  New classis called base class. EXP:Write a program in c++ single level inheritance #include<iostream> using namespace std; class A{    protected:       int x,y,z; input()    {        […]

Continue reading