Does python support multiple inheritances?
Yes, When a child class inherits from multiple parent classes, it is called multiple inheritances.Unlike Java and like C++, Python supports multiple inheritances. We specify all parent classes as a comma-separated list in the bracket.
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Yes, When a child class inherits from multiple parent classes, it is called multiple inheritances.
need an explanation for this answer? contact us directly to get an explanation for this answerUnlike Java and like C++, Python supports multiple inheritances. We specify all parent classes as a comma-separated list in the bracket.