Can Reference To An Object Be Returned From A Method #345
Can reference to an object be returned from a method?
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 OOps Objects - OOPs MCQ: Object Reference - Quiz No.2.
Can reference to an object be returned from a method?
Yes, always possible
Yes, but not always
No, never possible
No, Not possible because referred element would be destroyed