You are on page 1of 1

1. Which type of inheritance results in the diamond problem?

a) Single level
b) Hybrid
c) Hierarchical
d) Multilevel

10. Which language doesn�t support single inheritance?


a) Java
b) C++
c) Kotlin
d) All languages support it

5. How many types of inheritance can be used at a time in a single program?


a) Any two types
b) Any three types
c) Any 4 types
d) Any type, any number of times
d) All languages support it

5. Which programming language doesn�t support multiple inheritance?


a) C++ and Java
b) C and C++
c) Java and SmallTalk
d) Java

You might also like