In Which Of The Following Ways Can The Object Be Returned From #1125
In which of the following way(s) can the object be returned from a function?
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.
In which of the following way(s) can the object be returned from a function?
Can only be returned by value
Can only be returned by reference
Can be returned either by value or reference
Can neither be returned by value nor by reference