M

Mr. Dubey • 52.66K Points
Coach

Q. What is the importance of the init method in a class?

  • (A) It initializes all the classes in code
  • (B) It imports all the modules required for the program
  • (C) It initializes the attributes of a class when an object is created
  • (D) None of the above
  • Correct Answer - Option(C)
  • Views: 139
  • 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