1.

The object can’t be __________(a) Passed by reference(b) Passed by value(c) Passed by copy(d) Passed as functionThis question was addressed to me in final exam.My question is based upon Objects topic in section OOPs Concept & Features of Object Oriented Programming

Answer»

The correct option is (d) Passed as function

To EXPLAIN: Object can’t be passed as function as it is an instance of some CLASS, it’s not a function. Object can be passed by reference, VALUE or copy. There is no term defined as PASS as function for objects.



Discussion

No Comment Found

Related InterviewSolutions