Python Programming - Inheritance - Discussion

Discussion Forum : Inheritance - General Questions (Q.No. 7)
7.
What is the purpose of the issubclass() function?
To check if an object is an instance of a specific class
To create a new instance of a class
To check if a class is a subclass of another class
To access class attributes directly
Answer: Option
Explanation:
The issubclass() function is used to check if a given 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.