InterviewSolution
Saved Bookmarks
| 1. |
Can reference to an object be returned from a method?(a) Yes, always possible(b) Yes, but not always(c) No, never possible(d) No, Not possible because referred element would be destroyedThe question was asked during an internship interview.My question comes from Object Reference topic in division Object of Object Oriented Programming |
|
Answer» The correct option is (b) Yes, but not always |
|