How To Make More Than One Object Refer To The Same Object #1150
How to make more than one object refer to the same object?
This multiple choice question (MCQ) is related to the book/course
gs gs111 OOP Object Oriented Programming Java.
It can also be found in
gs gs111 Assigning Object, Pointer to Objects, Passing and Returning Object - OOPs MCQ: Assigning Objects - Quiz No.2.
How to make more than one object refer to the same object?
Initialize it to null
Initialize the object with another at declaration
Use constructor to create new object
Assign the address directly