Question OOP-CLS-0075
HardIn Python, what does @classmethod receive as its first argument?
- A.
The module
- B.
Nothing
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Classes and Objects question
In Python, what does @classmethod receive as its first argument?
The module
Nothing
Sign up free to see the answer and a step-by-step explanation.
The instance (self)
The class itself (cls)