Where The Temporary Objects Created While Return By Value Are #1127
Where the temporary objects (created while return by value) are created?
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: Returning Objects - Quiz No.1.
Where the temporary objects (created while return by value) are created?
Outside the function scope
Within the function
Inside the main function
Inside the calling function