MCQOPTIONS
Saved Bookmarks
| 1. |
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. |
| A. | obj. str () |
| B. | str(obj) |
| C. | print obj |
| D. | all of the mentioned |
| Answer» E. | |