Which Error Will Be Produced If A Local Object Is Returned By #1132
Which error will be produced if a local object is returned by reference outside 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.
Which error will be produced if a local object is returned by reference outside a function?
Out of memory error
Run time error
Compile time error
No error