πŸ“Š Python
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
πŸ’¬ Discuss
βœ… Correct Answer: (C) It initializes the attributes of a class when an object is created

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
214
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
86%
Success Rate