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

ICSE Class 10 Computer Applications PYQ · 2024 Paper · Section A

1(xvi)1 Mark · 2024 · Section A · 2024 Paper

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

Show SolutionHide Solution↓

Call by reference

Reason — When an object is passed to a method:

  1. The method receives a reference (memory address) to the original object.
  2. Any changes made inside the method affect the original object.
← Previous questionNext question →

Browse the free Computer Applications sample bank