Python - Constructors and Object Initialization
What happens if you create a Python class without an __init__ method and then instantiate it?
What happens if you create a Python class without an __init__ method and then instantiate it?
__init____init__, Python uses a default constructor that creates an empty object.__init__ missing means empty object [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions