- class __init__(self): pass
- def __init__(): pass
- class __init__(): pass
- def __init__(self): pass
Correct Answer:
- def __init__(self): pass
What is the correct syntax for defining an __init__() method that takes no parameters?
Correct Answer:
Latest Updates
No posts found in this category.