Saved Bookmarks
| 1. |
When value of an object is assigned to another object ________________(a) It becomes invalid statement(b) Its values gets copied into another object(c) Its values gets address of the existing values(d) The compiler doesn’t execute that statementI had been asked this question by my school principal while I was bunking the class.The origin of the question is Assigning Objects topic in section Assigning Object, Pointer to Objects, Passing and Returning Object of Object Oriented Programming |
|
Answer» The correct option is (b) Its VALUES gets copied into another object |
|