KnowledgeBoat Logo
|

Computer Applications

What is the principal reason for passing arguments by value ?

User Defined Methods

5 Likes

Answer

The principal reason for passing arguments by value is that the actual parameters that are used to call the method cannot be modified by the called method because any changes that occurs inside the method is on the method's copy of the argument value. The original copy of the arguments remains intact.

Answered By

2 Likes


Related Questions