Q:

Does use of object reference in assignment or passing means copy of the object is being used?

0

Does use of object reference in assignment or passing means copy of the object is being used?


  1. No, because the copy would create a new temporary variable
  2. No, because the copy would not help to make changes to main object
  3. Yes, because the reference directly means using address
  4. Yes, because the reference directly means the constructors are involved

All Answers

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

 (c).Yes, because the reference directly means using address

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 will be the output of the following code?... >>
<< Whenever an object is assigned to a variable or pa...