Q. Let A and B be objects of class Foo. Which functions are called when print(A + B) is executed? (Solved)

1. add    (),     str    ()

2. str    (),     add    ()

3. sum    (),     str    ()

4. str    (),     sum    ()

  • a.     add    (),     str    ()
Subscribe Now

Get All Updates & News