A

Admin • 833K Points
Coach

Q. Which method is called automatically when an object is created?

  • (A) __del__()
  • (B) __start__()
  • (C) __init__()
  • (D) __create__()
  • Correct Answer - Option(C)
  • Views: 17
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

`__init__()` is the constructor method in Python, called when an object is created.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.