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()

QuestionsCategory: Python 3What 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()
admin Staff asked 3 years ago

Answer: Class Method