Multiple Choice
Which method is automatically called when you pass an object as an argument to the print function?
A) __state__
B) __obj__
C) __str__
D) __init__
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q19: Which section in the UML holds the
Q20: The self parameter need not be named
Q21: In a UML diagram the first section
Q22: Which method is automatically executed when an
Q23: What type of method provides a safe
Q25: _ programming is a method of writing
Q26: A(n)_ method in a class initializes an
Q27: In _ programming,the programming is centered on
Q28: The self parameter is required in every
Q29: A class _ is a set of