What is the output of the following code ? class A: @staticmethod def m1(self): print(‘Static Method’) @classmethod def m1(self): print(‘Class Method’) A.m1()
Questions › Category: Python 3 › What is the output of the following code ? class A: @staticmethod def m1(self): print(‘Static Method’) @classmethod def m1(self): print(‘Class Method’) A.m1()