11. In C++, if a derived class does not define a constructor, which constructor of the base class is called during the object creation of the derived class? A. No constructor is called B. Destructor of the base class C. Parameterized constructor of the base class D. Default constructor of the base class Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option D No explanation is given for this question Let's Discuss on Board
12. What is the process of creating a new class using an existing class as a base in C++? A. Base class B. Derived object C. Derived class D. Base object Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option C No explanation is given for this question Let's Discuss on Board
13. What is the name given to the feature of C++ where a class inherits features from more than one base class? A. Hierarchical inheritance B. Multiple inheritance C. Multilevel inheritance D. None of the above Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option B No explanation is given for this question Let's Discuss on Board
14. In C++, which type of inheritance allows a class to inherit from multiple classes directly or indirectly? A. Multilevel inheritance B. Hierarchical inheritance C. Multiple inheritance D. Single inheritance Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option C No explanation is given for this question Let's Discuss on Board
15. What is the process of defining a new class by extending an existing class in C++? A. Base class B. Inherited class C. Subclass D. Derived class Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option D No explanation is given for this question Let's Discuss on Board
16. In C++, which access specifier allows the members of a base class to be accessible in the derived class as well as from outside the class? A. public B. private C. protected D. friend Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option A No explanation is given for this question Let's Discuss on Board
17. What is the term used to describe a derived class having more than one base class in C++? A. Multilevel inheritance B. Hierarchical inheritance C. Single inheritance D. Multiple inheritance Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option D No explanation is given for this question Let's Discuss on Board
18. In C++, what is the process of creating a new class from an existing class known as? A. Composition B. Encapsulation C. Inheritance D. Polymorphism Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option C No explanation is given for this question Let's Discuss on Board
19. Which keyword is used to denote the access specifier in a derived class when inheriting from a base class in C++? A. using B. inherits C. extends D. : protected Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option C No explanation is given for this question Let's Discuss on Board
20. In C++, which type of inheritance involves inheriting from multiple base classes, but only inheriting one level deep from each base class? A. Hierarchical inheritance B. Multilevel inheritance C. Single inheritance D. None of the above Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option B No explanation is given for this question Let's Discuss on Board