Object Oriented Programming2080.110 marksA Simple Class and Object
Write a program to realize the above hierarchy. Create necessary member functions (constructor) to initialize and display necessary information.
Write a program to realize the above hierarchy. Create necessary member functions (constructor) to initialize and display necessary information.[10]
Based on the reference context, we need to create a hierarchy where a derived class inherits from a base class, and use constructors to initialize and display member variables of both classes. --- --- --- --- Concept Description ------ Base Class A Contains protected data members x and y with its...