Advertisements
Advertisements
Question
What is single inheritance?
Code Writing
Very Short Answer
Advertisements
Solution
Single inheritance occurs when one derived class inherits the properties and methods of only one base class.
class Person(object):
pass
class Student(Person):
passshaalaa.com
Is there an error in this question or solution?
