Examveda

What type of inheritance is illustrated in the following Python code?
class A():
    pass
class B(A):
    pass
class C(B):
    pass

A. Multi-level inheritance

B. Multiple inheritance

C. Hierarchical inheritance

D. Single-level inheritance

Answer: Option A


Join The Discussion

Related Questions on Concept of Object Oriented Programs in Python