CBSE eBooks CBSE Guess > eBooks > Class XII > Computer Science By . Mr. MRK
Chapter – 6. INHERITANCE DELHI 2002 1.a. Illustrate the concept of Inheritance with the help of an example. 2 Ans: The capability of one class to inherit propertied from another class, is called as inheritance. 2001 1.a. Reusability of classes is one of the major properties of OOP. How is it implemented in C++. 2 Ans: Resuability of classes can be implemented through Inheritance. Ie After developing a class, if you want a class which consists the features of this class( ie members ) and the other features also, then instead of developing a class which consists all these features, you can inherited the existing features (members) and you can develop new class consists the remaining features using DELHI 2000 DELHI 2000 2.c. Consider the following and answer the questions given below: (i) Name the base class and derived class of the class Dept. Ans: Base class of Dept - School (ii) Name the data member(s) that can be accessed from function OUT(). Ans: Dept::X Dept::Y |