QuestionQ36

VerifiedObject-Oriented Programming

Which statements about Python class constructors are true?

Choose two
Explanation

Python initializes an instance through its __init__ special method. This method receives the instance as its first parameter, conventionally named self, and it must not return a non-None value.

Community Discussion

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