QuestionQ18

VerifiedAdvanced Object-Oriented Programming

Which statement is true about a parameter named cls?

Explanation

In Python, cls conventionally names the first parameter of a class method and refers to the class itself.

Community Discussion

No comments yet. Be the first to start the discussion!