Which OOPs concept will create new class from an existing class?
Inheritance
Encapsulation
Data hiding
Abstraction
What is hybrid inheritance?
Combination of hierarchical and multiple inheritance
Combination of hierarchical inheritance
Combination of multiple and multilevel inheritance
Combination of single and hierarchical
Which C++ punctuator is used in derived class definition for denoting that the class should be inherited?
comma
semi colon
colon
single quote
Which class is known as power packed class?
Base class
Derived class
Existing class
Super class
Which type of base class members are not directly accessible to derived class?
Public
Protected
Private
Internal
How can be control the visibility or availability of a class member?
Visibility mode
Access specifier
Derivation
Deriving
Which among the following class does not contain the object declaration?
sealed class
abstract class
base class
sub class
What is the advantage of reusability?
Faster development time
Easier maintenance
Easy to extend
All these
What do you mean by the relationship of two classes such that the objects of a class enclosed within the other class.?
Containership
Abstract class
What is the access of public base members in the derived class when the base class is inherited with public visibility mode?
private
internal
protected
public