If a class has a method named _ _str_ _, which of these is a way to

Question:

If a class has a method named _ _str_ _, which of these is a way to call the method?

a. You call it like any other method: object._ _str_ _()

b. By passing an instance of the class to the built in str function

c. The method is automatically called when the object is created

d. By passing an instance of the class to the built-in state function

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: