Class Hierarchies and Abstract Classes

1

What does derived class does not inherit from the base class?

A. constructor and destructor
B. friends
C. operator = () members
D. all of the mentioned

2

What should be the name of constructor?

A. same as object
B. same as member
C. same as class
D. none of the mentioned

3

How many constructors can present in a class?

A. 1
B. 2
C. 3
D. multiple

4

How many types of constructor are there in C++?

A. 1
B. 2
C. 3
D. 4

5

What is meant by containership?

A. class contains objects of other class types as its members
B. class contains objects of other class types as its objects
C. both a & b
D. none of the mentioned