Invoking a method by passing the objects of a class is termed as ______.
Advertisements
प्रश्न
Invoking a method by passing the objects of a class is termed as ______.
विकल्प
Call by reference
Call by value
Call by method
Call by constructor
MCQ
रिक्त स्थान भरें
Advertisements
उत्तर
Invoking a method by passing the objects of a class is termed as Call by reference.
Explanation:
Passing an argument as an object acts as a call by reference since only one copy of the object is shared by both the caller and the called method.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
