0 votes
in Python by
What is the output of the following code?

class A:

    @staticmethod

    @classmethod

    def m1(self):

        print('Hello')

A.m1(5)

a) Hello  

b) ValueError

c) TypeError

d) AttributeError

1 Answer

0 votes
by

d) AttributeError

Related questions

0 votes
asked Jan 18, 2021 in Python by SakshiSharma
+1 vote
asked Feb 15, 2021 in Python by SakshiSharma
...