class SuperClass:
def printme(self):
print('Welcome to python class')
def referer(self):
self.do_action()
class SubClass(SuperClass):
pass
p = SubClass()
p.printme()
Options:
Explanation
Correct answer is : A
SubClass is inheriting the SuperClass. So all the methods can be accessible by SubClass instance "p"
Comment here: