Q:

Can reference to an object be returned from a method?

0

Can reference to an object be returned from a method?


  1. Yes, always possible
  2. Yes, but not always
  3. No, never possible
  4. No, Not possible because referred element would be destroyed

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (b).Yes, but not always

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

OBJECT ORIENTED PROGRAMMING OBJECTS AND CLASSES IN OOPS MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
What does memory allocation for objects mean?... >>
<< Invoking a method on a particular object is ______...