MCQsIntermediate MCQsInheritanceInheritance 1).What is inheritance in C++?1) A process of acquiring properties from another class2) A process of creating new objects3) A function of encapsulation4) None of the above 2).Which type of inheritance is not supported in C++?1) Multiple2) Multilevel3) Single4) Cyclic 3).Which keyword is used to define inheritance in C++?1) extends2) inherits3) derived4) None of the above 4).What is the base class in inheritance?1) The class from which properties are inherited2) The class that inherits properties3) A function inside a class4) None of the above 5).What access specifier is used to prevent inheritance?1) private2) protected3) public4) final 6).What is a virtual base class?1) A base class designed to avoid multiple inheritance conflicts2) A base class for dynamic polymorphism3) A base class that cannot have objects4) None of the above 7).What is the correct syntax for inheritance?1) class Derived : public Base {}2) class Derived inherits Base {}3) class Derived :: Base {}4) None of the above 8).What is function overriding?1) A derived class redefining a base class function2) A function calling another function3) A function with multiple definitions4) None of the above 9).Which of the following is an advantage of inheritance?1) Code reuse2) Improved encapsulation3) Better performance4) None of the above 10).What is the use of the 'super' keyword in inheritance?1) To access base class members2) To call the base class constructor3) Both A and B4) None of the above