1. According to the following punnett square, the female genotype is _____.
2. Look at the following code. the method in line ________ will override the method in line ________.
3. Inheritance is an example of a(n) ____ relationship.
4. A derived class always ____ case or instance of the more general base class.
5. A class that represents the most general entity in an inheritance hierarchy is called a/an ____.
6. ________ is commonly used to extend a class, or to give it additional capabilities.
7. ____ is the ability to use the same expression to denote different operations.
8. In Multipath inheritance, in order to remove duplicate set of records in child class, we___________.
9. If base class has constructor with arguments, then it is ________________ for the derived class to have constructor and pass the arguments to base class constructor.
10. During a class inheritance in CPP, if the visibility mode or mode of derivation is not provided, then by default visibility mode is___________.
11. When a base class is privately inherited by the derived class, then_______________.
12. In case of inheritance where both base and derived class are having constructor and destructor, then which if the following are true? 1. Constructors are executed in their order of derivation 2. Constructors are executed in reverse order of derivation 3. Destructors are executed in their order of derivation 4. Destructors are executed in reverse order of derivation
13. Class X, class Y and class Z are derived from class BASE. This is _____________ inheritance.
14. Can struct be used as Base class for inheritance ?
15. What is difference between protected and private access specifiers in inheritance?
16. Private members of the class are not inheritable.
17. In case of inheritance where both base and derived class are having constructors, when an object of derived class is created then___________.
18. If the derived class is struct, then default visibility mode is_______.
19. Can we pass parameters to base class constructor though derived class or derived class constructor?
20. The derivation of Child class from Base class is indicated by ____ symbol.
21. When base class is derived in protected mode, then______________. 1. public members of base class become private members of derived class 2. public members of base class become protected members of derived class 3. public members of base class become public members of derived class 4. protected members of base class become protected members of derived class 5. protected members of base class become private members of derived class 6. protected members of base class become public members of derived class
22. Reusability of the code can be achieved in CPP through: