Every class has at least one constructor January 28, 2022January 28, 2022 administrator A. TRUEB. FALSE Share the Post Share the Post
Runtime polymorphism is achieved only when a virtual function is accessed through a pointer to the base class. January 28, 2022January 28, 2022 administrator A. TRUEB. FALSE Share the Post Share the Post
Find the wrong statement about Abstract Class. January 28, 2022January 28, 2022 administrator A. We can’t create its objectsB. We can’t create pointers to an abstract class.C. It contains at least one pure virtual functionD. We can create references to an abstract class. Share the Post Share the Post
Assigning one or more function body to the same name is called ____________ . January 28, 2022January 28, 2022 administrator A. Function OverridingB. Function OverloadingC. AllD. None Share the Post Share the Post
Function can be declared as friend maximum only in two classes January 28, 2022January 28, 2022 administrator A. TRUEB. FALSE Share the Post Share the Post
Which of the following statements are not true about destructor? January 28, 2022January 28, 2022 administrator A. It is invoked when object goes out of the scopeB. Like constructor it can also have parametersC. It can be virtual Share the Post Share the Post
When a child class inherits traits from more than one parent class, this type of inheritance is called _______________ inheritance. January 28, 2022January 28, 2022 administrator A. HierarchicalB. HybridC. MultilevelD. Multiple Share the Post Share the Post
Which of the followings is/are not keyword in CPP? January 28, 2022January 28, 2022 administrator A. asmB. booleanC. mutable Share the Post Share the Post
We can create objects of the abstract class. January 28, 2022January 28, 2022 administrator A. TRUEB. FALSE Share the Post Share the Post
What is the output pf the following code? int x=20,y=35; x=y++ + x++; cout< January 28, 2022January 28, 2022 administrator A. 5794B. 2035C. 2136D. 6070 Share the Post Share the Post