T

Tanmay • 2.43K Points
Master

Q. What does the __init__() function do in Python?

  • (A) Initializes the class for use.
  • (B) This function is called when a new object is instantiated.
  • (C) Initializes all data attributes to zero when called.
  • (D) None of the above
  • Correct Answer - Option(B)
  • Views: 145
  • Filed under category Python

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics