Python Programming - Inheritance - Discussion

Discussion Forum : Inheritance - General Questions (Q.No. 91)
91.
In Python, what is the purpose of the issubclass() function?
To check if an object is an instance of a class
To check if a class is a subclass of another class
To check if two classes have the same attributes
To check if an object has a specific attribute
Answer: Option
Explanation:
The issubclass() function is used to check if a class is a subclass of another class.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.