Python - Constructors and Object Initialization
Which of these is true about the
self parameter in the __init__ method?self parameter in the __init__ method?self in methodsself is a reference to the current object instance, not the class.self in __init__self refers to the current object being created -> Option Cself = current object = A [OK]self always means the current object instance [OK]self is a Python keywordself with the classself in method definitions15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions