MCQOPTIONS
Saved Bookmarks
| 1. |
Let A and B be objects of class Foo. Which functions are called when print(A + B) is executed? |
| A. |     add    (),     str    () |
| B. |     str    (),     add    () |
| C. |     sum    (),     str    () |
| D. |     str    (),     sum    () |
| Answer» B.     str    (),     add    () | |