What is the output of the following code ? class A: @classmethod def getC(self): print(‘In Class A, method getC.’) class B(A): pass b = B() B.getC() b.getC()
Questions › Category: Python 3 › What is the output of the following code ? class A: @classmethod def getC(self): print(‘In Class A, method getC.’) class B(A): pass b = B() B.getC() b.getC()