A directory of Objective Type Questions covering all the Computer Science subjects. Here you can access and discuss Multiple choice questions and answers for various compitative exams and interviews.

101. What is the minimum number of classes to be there in a program implementing hybrid inheritance?
a. 2
b. 3
c. 4
d. No limit
View Answer Report Discuss Too Difficult!
Answer: (d).No limit

102. If object of lowest level class is created ( last derived class ), _________________ of its parent class constructors are called.
a. Few
b. All
c. Only parent and parent
d. Base and Derived
View Answer Report Discuss Too Difficult!
Answer: (c).Only parent and parent

103. If hybrid inheritance is used, it mostly shows _______________ feature of OOP.
a. Flexibility
b. Reusability
c. Efficiency
d. Code readability
View Answer Report Discuss Too Difficult!
Answer: (b).Reusability

104. The sequence of destructors being called while using hybrid inheritance is ____________
a. Reverse of constructors being called
b. Reverse of classes being made
c. Reverse of objects being created
d. Reverse of code calling objects
View Answer Report Discuss Too Difficult!
Answer: (a).Reverse of constructors being called

105. Overloading operators are possible only by using hybrid inheritance.
a. True
b. False
c. May be
d. Can't say
View Answer Report Discuss Too Difficult!
Answer: (b).False

Page 11 of 11