Q. If a class defines the     str    (self) method, for an object obj for the class, you can use which command to invoke the     str      method. (Solved)

1. obj.    str    ()

2. str(obj)

3. print obj

4. all of the mentioned

  • d. all of the mentioned
Subscribe Now

Get All Updates & News