English

Invoking a method by passing the objects of a class is termed as ______. - Computer Applications

Advertisements
Advertisements

Question

Invoking a method by passing the objects of a class is termed as ______.

Options

  • Call by reference

  • Call by value

  • Call by method

  • Call by constructor

MCQ
Fill in the Blanks

Solution

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
  Is there an error in this question or solution?
2023-2024 (February) Official
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×