What is the output of the following code? class A: @classmethod def m1(self): print('In Class A, Class Method m1.') def m1(self): print('In Class A, Method m1.') a = A() a.m1()
What is the output of the following code?
class A: @classmethod def m1(self): print('In Class A, Class Method m1.') def m1(self): print('In Class A, Method m1.') a = A() a.m1()
a. TypeError
b. In Class A, Method m1.
c. In Class A, Class Method m1.
d. In Class A, Class Method m1, In Class A, Method m1.