What built-in function will you use to check if a given class is a derived class (subclass) of the specified base class?

Questions & AnswersCategory: PythonWhat built-in function will you use to check if a given class is a derived class (subclass) of the specified base class?
Lokesh Kumar Staff asked 2 years ago

What built-in function will you use to check if a given class is a derived class (subclass) of the specified base class?
a. isinstance()
b. isclass()
c. issubclass()
d. type()

1 Answers
Lokesh Kumar Staff answered 2 years ago