A class is derive from a class which is derive from another
class is known as multilevel inheritance.
cout<<"enter a value for x:"<<endl;
class B:public A
cout<<"enter value for y:";
class C:public B
1.what are two type of classe members called?
2.what is data hiding and data encapsulation?
3.how do you make a class member visible aouside its class?
4.what is the default visibility of a class data member?
5.what are the advantages of oop over the structured